kakadu_ has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
keep_learning has joined #ocaml
silver has quit [Read error: Connection reset by peer]
caltelt_ has quit [Ping timeout: 245 seconds]
ihavelotsoffries has joined #ocaml
<ihavelotsoffries>
this might sound stupid but type parameters are scoped per type, right?
<ihavelotsoffries>
so give `type 'a a` and `type 'a b` in a module doesn't mean that both a and b must take the same parameter?
<ihavelotsoffries>
how would I define type a and b that takes the same parameter
Steverman has quit [Ping timeout: 246 seconds]
keep_learning has quit [Remote host closed the connection]
keep_learning has joined #ocaml
Steverman has joined #ocaml
ygrek__ has joined #ocaml
ihavelotsoffries has quit [Remote host closed the connection]
Algebr has joined #ocaml
Algebr has left #ocaml [#ocaml]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 246 seconds]
AnAverageHuman has joined #ocaml
ygrek__ has quit [Ping timeout: 246 seconds]
gravicappa has joined #ocaml
AnAverageHuman has quit [Ping timeout: 256 seconds]
sonologico has quit [Remote host closed the connection]
caltelt_ has joined #ocaml
Steverman has quit [Quit: WeeChat 2.4]
ziyourenxiang_ has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
SomeDamnBody has quit [Ping timeout: 245 seconds]
freyr69 has joined #ocaml
nullifidian__ has joined #ocaml
<freyr69>
Are ``Weekly news'' broken on ocaml.org?
nullifidian_ has quit [Ping timeout: 246 seconds]
barockobamo has joined #ocaml
jao has joined #ocaml
Haudegen has joined #ocaml
mfp has joined #ocaml
nicoo has quit [Read error: Connection reset by peer]
nicoo has joined #ocaml
Haudegen has quit [Remote host closed the connection]
<flux[m]>
ihavelotsoffries: yes, type parameters are scoped to the definition
<Leonidas>
hmm, opam repository does not seem to be updating
Birdface has joined #ocaml
<flux[m]>
ihavelotsoffries: not really sure what you're looking for requiring them to take the same type as parameter.. usually this happens when it's applied to functions, ie. `val foo : 'a t -> 'a u -> unit` requires `'a` to be the same for `t` and `u`.
<flux[m]>
(works the same with type definitions as well of course)
jaar has joined #ocaml
caltelt_ has quit [Ping timeout: 250 seconds]
zolk3ri has joined #ocaml
<companion_cube>
dune init!!!!
<Fardale>
companion_cube: ?
<companion_cube>
dune 1.9 seems to ship with `dune init`