<Leonidas>
I am trying to remove multiple parts from a module but `include (Deferred : module type of Deferred with module Let_syntax := Deferred.Let_syntax and Result := Deferred.Result)` does not seem to work
<Leonidas>
It works without the `and …` part, but how can I replace more?
<Leonidas>
ok I need to write `and module Result :=`, thanks for listening
AnAverageHuman has joined #ocaml
discord4 has quit [Remote host closed the connection]
discord5 has joined #ocaml
<freyr69>
What's with the default type constructor variance and why couldn't I cast [`A ] Lwt.t to [`A | `B] Lwt.t?
Haudegen has quit [Remote host closed the connection]
<octachron>
freyr69, Lwt.t is covariant in its first parameter and the coercion (x:>[`A|`B] Lwt.t) should work
<freyr69>
That works indeed, thanks
Jesin has quit [Quit: Leaving]
AnAverageHuman has quit [Ping timeout: 256 seconds]
freyr69 has quit [Remote host closed the connection]
Jesin has joined #ocaml
Keodedad has joined #ocaml
vovs03 has joined #ocaml
vovs03 has quit [Remote host closed the connection]
KeyJoo has quit [Quit: KeyJoo]
KeyJoo has joined #ocaml
mbac has left #ocaml [#ocaml]
mbac has joined #ocaml
gareppa has joined #ocaml
Haudegen has joined #ocaml
AtumT has joined #ocaml
Serpent7776 has joined #ocaml
AtumT has quit [Read error: Connection reset by peer]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
gareppa has quit [Quit: Leaving]
jnavila has joined #ocaml
q9929t has quit [Quit: q9929t]
jnavila has quit [Ping timeout: 258 seconds]
gravicappa has quit [Ping timeout: 245 seconds]
<AxiomaticEspress>
Is allocating a tuple the only way to pattern match against multiple values?
<AxiomaticEspress>
ex: let f x y = match (x,y) with | pattern -> result | otherpattern -> otherresult | ...
interruptinuse has joined #ocaml
<Drup>
yes, but you shouldn't worry about the tuple allocation, the pattern is recognized
<AxiomaticEspress>
alright, so it's not actually being allocated
<AxiomaticEspress>
cheers
jnavila has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
icecr4ck has joined #ocaml
jao has joined #ocaml
kakadu_ has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
valtr has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
wilfredh has quit [Quit: Connection closed for inactivity]
jnavila has joined #ocaml
okuu has joined #ocaml
Haudegen has quit [Remote host closed the connection]
Serpent7776 has quit [Quit: leaving]
zolk3ri has quit [Remote host closed the connection]
jnavila has quit [Remote host closed the connection]
Haudegen has joined #ocaml
kvda has joined #ocaml
kvda has quit [Client Quit]
kvda has joined #ocaml
amiloradovsky has joined #ocaml
Haudegen has quit [Ping timeout: 255 seconds]
amiloradovsky1 has joined #ocaml
Haudegen has joined #ocaml
amiloradovsky has quit [Ping timeout: 246 seconds]
amiloradovsky1 is now known as amiloradovsky
Jesin has quit [Quit: Leaving]
bartholin has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spew has quit [Quit: going home]
Jesin has joined #ocaml
silver_ has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
silver has quit [Ping timeout: 245 seconds]
kvda has joined #ocaml
ygrek has quit [Ping timeout: 258 seconds]
okuu has quit [Ping timeout: 255 seconds]
Birdface has quit [Ping timeout: 250 seconds]
ski has quit [Ping timeout: 246 seconds]
Haudegen has quit [Remote host closed the connection]