companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.3.0 released: https://ocaml.org/releases/5.3.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
amadaluzia has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
myrkraverk_ has joined #ocaml
Frostillicus has joined #ocaml
myrkraverk has quit [Ping timeout: 268 seconds]
humasect has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
humasect has quit [Quit: Leaving...]
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 260 seconds]
Haudegen has quit [Quit: Bin weg.]
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
amadaluzia has quit [Quit: ZNC 1.10.0 - https://znc.in]
toastal has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
euphores has joined #ocaml
Frostillicus has joined #ocaml
casastorta has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastorta has joined #ocaml
casastortaAway has joined #ocaml
agentcasey_ has joined #ocaml
agentcasey has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ocaml
_whitelogger has joined #ocaml
toastal has left #ocaml [#ocaml]
casastorta has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastortaAway has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastorta has joined #ocaml
casastortaAway has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
Frostillicus has joined #ocaml
YuGiOhJCJ has joined #ocaml
<discocaml> <uberpyro181> annotations `[@warning "-8"]` are deep, so if you put the binding operator in a construct with that annotation, then warnings are silenced for the binding operator as well
<discocaml> <uberpyro181> ```ocaml
<discocaml> <uberpyro181> utop # let[@warning "-8"] y = let* (Some x) = [Some 1] in [x; x] in y;;
<discocaml> <uberpyro181> - : int list = [1; 1]
<discocaml> <uberpyro181> ```
<discocaml> <uberpyro181> I annotated `let`, but it should work just as well for `fun`, `match`, etc.
casastorta has quit [Ping timeout: 260 seconds]
luc4 has joined #ocaml
<luc4> Hello! I'm just getting started with dune and I'm trying to port an ocaml project to it. I'm getting a lot of these errors: https://pastebin.com/r5u8wYYi. Anyone who can explain what it means?
bartholin has joined #ocaml
toastal has joined #ocaml
Tuplanolla has joined #ocaml
casastorta has joined #ocaml
toastal has quit [Ping timeout: 248 seconds]
Serpent7776 has joined #ocaml
toastal has joined #ocaml
deavmi has quit [Remote host closed the connection]
toastal has quit [Ping timeout: 265 seconds]
deavmi has joined #ocaml
toastal has joined #ocaml
<YuGiOhJCJ> hello, I try to build "ocaml-ctypes", I type "dune build", I see the missing dependency "ounit2", I try to build "ounit2", I see the missing dependency "lwt.unix", I try to build "lwt", I see the missing dependency "ppxlib", I try to build "ppxlib", I see the missing dependency "ocaml-compiler-libs.common", I try to build "ocaml-compiler-libs.common", I see this: " Type Cmo_format.compunit is not compatible with type string", what am I
<YuGiOhJCJ> doing wrong? I was able to build several packages like this, but here I am stuck
toastal has left #ocaml [#ocaml]
Serpent7776 has quit [Ping timeout: 252 seconds]
<YuGiOhJCJ> I found, it's because I was building "ocaml-compiler-libs" 0.12.4 (too old) instead of 0.17.0
toastal has joined #ocaml
casastortaAway has quit [Ping timeout: 260 seconds]
casastortaAway has joined #ocaml
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 276 seconds]
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 245 seconds]
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 252 seconds]
Frostillicus has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
Anarchos has joined #ocaml
Haudegen has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 248 seconds]
casastortaAway has quit [Ping timeout: 245 seconds]
Frostillicus has joined #ocaml
casastortaAway has joined #ocaml
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 252 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 260 seconds]
Frostillicus has quit [Quit: Frostillicus]
oriba has joined #ocaml
toastal has left #ocaml [#ocaml]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Serpent7776 has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
amadaluzia has joined #ocaml
<discocaml> <nrs9044> what kind of principled approaches to parsing code functionally are there?
<discocaml> <nrs9044> what kinds of principled approaches to parsing code functionally are there?
luc4 has quit [Quit: Konversation terminated!]
<discocaml> <the.smv> hello ocamllers, I'm new to ocaml glad to be in this server
<discocaml> <nrs9044> ty for link! from what I'm seeing, it's always some notion of parser combinators right? i.e. that's the sort of conceptual framework behind doing parsing in a functional style
Frostillicus has quit [Read error: Connection reset by peer]
<discocaml> <nrs9044> ty for link! from what I'm seeing, it's always some notion of parser combinators right? i.e. that's sort of the conceptual framework behind doing parsing in a functional style
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 245 seconds]
<discocaml> <astreamingcomesacrossthesky> I guess this is typically more of a kind of parsing than a syntactic convention but PEG parsers that I have seen often have a functional style
<discocaml> <astreamingcomesacrossthesky> But the only PEG parsing library I'm aware of in OCaml uses a Menhir style approach
Haudegen has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Haudegen has joined #ocaml
Serpent7776 has joined #ocaml
Frostillicus has quit [Quit: Frostillicus]
wbooze has quit [Ping timeout: 252 seconds]
toastal has joined #ocaml
toastal has quit [Ping timeout: 245 seconds]
toastal has joined #ocaml
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 260 seconds]
euphores has quit [Ping timeout: 276 seconds]
Serpent7776 has quit [Ping timeout: 260 seconds]
toastal has quit [Ping timeout: 265 seconds]
bartholin has quit [Remote host closed the connection]
amadaluzia has quit [Quit: ZNC 1.10.0 - https://znc.in]
<dh`> recursive descent parsers are pretty naturally functional; this is where the idea of monads originated
<dh`> (note that in practice you don't want to use parser combinator libraries in production; but yawaramin and I will apparently never agree and there's no point reopening that argument)
agentcasey_ has quit [Ping timeout: 252 seconds]