companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
Haudegen has joined #ocaml
raskol has joined #ocaml
raskol has quit [Ping timeout: 252 seconds]
spew has quit [Quit: party time]
raskol has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
raskol has quit [Ping timeout: 252 seconds]
toastal has joined #ocaml
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
YuGiOhJCJ has joined #ocaml
toastal has left #ocaml [Disconnected: Hibernating too long]
euouae has joined #ocaml
<euouae> Hello to switch to the latest release of ocaml do I do `opam switch create ocaml.5.2.0`?
toastal has joined #ocaml
<octachron> Yes (except if you want to enable flambda, in which case you can use `opam switch create ocaml.5.2.0+flambda ocaml-variants.5.2.0+options ocaml-option-flambda`)
euouae has quit [Ping timeout: 272 seconds]
domq has joined #ocaml
cl2700 has joined #ocaml
domq has quit [Ping timeout: 272 seconds]
dmoerner has quit [Ping timeout: 255 seconds]
bartholin has joined #ocaml
toastal has left #ocaml [Disconnected: Hibernating too long]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
toastal has joined #ocaml
domq has joined #ocaml
domq has quit [Client Quit]
cl2700 has quit [Ping timeout: 252 seconds]
salkin has quit [Quit: salkin]
cl2700 has joined #ocaml
keyboard has joined #ocaml
Serpent7776 has joined #ocaml
cl2700 has quit [Ping timeout: 252 seconds]
raskol has joined #ocaml
Haudegen has joined #ocaml
dmoerner has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
cl2700 has joined #ocaml
cl2700 has quit [Client Quit]
toastal has left #ocaml [#ocaml]
toastal has joined #ocaml
<discocaml> <softwaresirppi> Hi guys
<discocaml> <softwaresirppi> What up
Anarchos has joined #ocaml
<discocaml> <gooby_clown> Nothing much, just another day, wbu
<discocaml> <rongcuid> Is it possible to encode nondeterminism in effects?
toastal has quit [Ping timeout: 244 seconds]
<discocaml> <gooby_clown> You need multishot for that
<discocaml> <rongcuid> So there's no way to emulate the List monad
<discocaml> <softwaresirppi> Exams approaching
<discocaml> <softwaresirppi> So I can't dabble around in Ocaml for 15 days
<discocaml> <softwaresirppi> 😦
<discocaml> <softwaresirppi> What's that!!!
euouae has joined #ocaml
<euouae> octachron: thank you for the flambda command; it worked. I couldn't get it to work without. I was getting an error about version 5.4.0! Which is not even released! I don't get it...
toastal has joined #ocaml
<euouae> But ok, it worked. So I'm rolling with that now.
<discocaml> <gooby_clown> Have you tried out algebraic effects yet
<euouae> me? no
<discocaml> <softwaresirppi> Link me some docs please!!
<discocaml> <softwaresirppi> Is that a monad I smell
<discocaml> <gooby_clown> euouae: It's for Sirppi
<discocaml> <gooby_clown> Sirppi: Nono, second
<discocaml> <softwaresirppi> Oh so IRC doesn't show replies?
<discocaml> <gooby_clown> It doesn't
<discocaml> <softwaresirppi> What IRC client you use euouae?
<discocaml> <softwaresirppi> That's cool...
<discocaml> <gooby_clown> Right, and OCaml effect continuations are singleshot, meaning you can only resume them once
<discocaml> <gooby_clown> Whereas multishot allows multiple resumptions
<euouae> I just joined, maybe I missed the previous text.
<discocaml> <softwaresirppi> Oh that's interesting
<discocaml> <softwaresirppi> Generators in Ocaml!?!
<euouae> (I think it's your bridge that possibly doesn't show joins)
<discocaml> <gooby_clown> Sirppi: You can actually get generators with current singleshot conts
<discocaml> <softwaresirppi> I think I should try it
<discocaml> <softwaresirppi> But unfortunately I can't now 😭
landry has joined #ocaml
landry has quit [Remote host closed the connection]
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
Everything has joined #ocaml
<dmoerner> can someone help link me or explain the meaning of the binding "type !+'a t" in https://ocaml.org/manual/5.2/api/Map.Make.html . I understand what it does in this particular case from the doc comment but I haven't seen this !+ syntax in a signature before, and it's hard to search for. thanks
toastal has quit [Quit: Gateway shutdown]
toastal has joined #ocaml
bartholin has quit [Remote host closed the connection]
<Anarchos> dmoerner search for ! and + separately
bartholin has joined #ocaml
<Anarchos> dmoerner variance and injectivity in https://ocaml.org/manual/5.2/typedecl.html#ss%3Atypedefs
<discocaml> <Kali> it would be crazy if there was a stackoverflow answer for this exact question https://stackoverflow.com/questions/70450821/ocaml-meaning-of-in-type-a-t
<dmoerner> thank you both
Everything has quit [Ping timeout: 252 seconds]
<dmoerner> and i maintain that is not even easy to search for on stackoverflow :)
Everything has joined #ocaml
troydm has joined #ocaml
<euouae> chatgpt can give some insights too
troydm has quit [Client Quit]
troydm has joined #ocaml
Stumpfenstiel has joined #ocaml
olle__ has joined #ocaml
<discocaml> <sabrinasummers> 🐫
<Anarchos> dmoerner anyway, i could never understand what they mean or how/when to use them !
olle__ has quit [Ping timeout: 252 seconds]
Tuplanolla has joined #ocaml
raskol has quit [Ping timeout: 252 seconds]
toastal has left #ocaml [Error from remote client]
quernd80 has quit [Quit: Ping timeout (120 seconds)]
quernd80 has joined #ocaml
landry has joined #ocaml
Everything has quit [Quit: leaving]
landry has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
euouae has quit [Ping timeout: 272 seconds]
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 255 seconds]