companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
Stumpfenstiel has quit [Ping timeout: 248 seconds]
adanwan_ has quit [Ping timeout: 255 seconds]
adanwan has joined #ocaml
spip has quit [Quit: Konversation terminated!]
azimut has quit [Quit: ZNC - https://znc.in]
azimut has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
gwizon has joined #ocaml
jumpnbrownweasel has joined #ocaml
rf has quit [Quit: Leaving]
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
waleee has quit [Quit: WeeChat 3.8]
waleee has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
waleee has quit [Ping timeout: 248 seconds]
troydm has quit [Ping timeout: 246 seconds]
mbuf has joined #ocaml
bgs has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
adanwan_ has joined #ocaml
adanwan has quit [Ping timeout: 255 seconds]
mischief has left #ocaml [WeeChat 3.7]
mro has joined #ocaml
bartholin has joined #ocaml
trev_ has joined #ocaml
<discocaml> <Kakadu> @lukstafi Do you have a demo?
mro has quit [Quit: Leaving...]
Tuplanolla has joined #ocaml
olle has joined #ocaml
<discocaml> <lukstafi> Just created a repro case: https://github.com/lukstafi/ppx_minidebug/blob/main/test/test_expect_test.ml -- Here the file is not even created, in my other use-case I do get the part of the logging happening outside the `expect_test` "sandbox", specifically `BEGIN DEBUG SESSION` during initialization of a debugged module.
dh` has quit [Read error: Connection reset by peer]
Serpent7776 has joined #ocaml
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #ocaml
bgs has quit [Remote host closed the connection]
mbuf has quit [Ping timeout: 248 seconds]
mbuf has joined #ocaml
gwizon has quit [Quit: Lost terminal]
azimut has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rf has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
mbuf has quit [Quit: Leaving]
azimut has quit [Ping timeout: 255 seconds]
mro has joined #ocaml
Stumpfenstiel has joined #ocaml
dhil has joined #ocaml
hammdist has joined #ocaml
dh` has joined #ocaml
<hammdist> https://github.com/rixed/ocaml-bin-annot <-- I'm trying to revive this code on top of 4.14.1. the compiler doesn't like | Partial_pattern pat -> search_pattern pat and thinks Partial_pattern expects 2 arguments. https://www.ocaml.org/p/ocaml-base-compiler/4.14.0/doc/Cmt_format/index.html#type-binary_part.Partial_module_type I see this is true in
<hammdist> the docs, but I don't know how to fix it. what is the difference between ":" and "of" first of all?
azimut has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
<discocaml> <NULL> In this context, they are two ways of giving the type of the arguments and return type of the constructor
<discocaml> <NULL> `: τ` is the most explicit; this gives the exact type of the constructor
<discocaml> <NULL> `of τ` means `: τ -> adt` where `adt` is the type you're defining (with its type arguments)
ns12 has quit [Quit: bye]
ns12 has joined #ocaml
theblatte has quit [Ping timeout: 255 seconds]
theblatte has joined #ocaml
mro has quit [Remote host closed the connection]
<octachron> Partial_pattern does expect two arguments and beware that Partial_pattern is a GADT constructor nowadays.
<octachron> (which is the meaningful difference between `Constructor of <argument type> and `Constructor: <argument type> -> <return type>`
berberman_ has joined #ocaml
berberman has quit [Ping timeout: 248 seconds]
mro has joined #ocaml
mro has quit [Quit: Leaving...]
sagax has joined #ocaml
dhil has quit [Read error: Connection reset by peer]
bartholin has quit [Quit: Leaving]
waleee has joined #ocaml
anpad has quit [Quit: ZNC 1.8.2 - https://znc.in]
anpad has joined #ocaml
emp_ has joined #ocaml
emp has quit [Ping timeout: 246 seconds]
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
cedric has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
olle has quit [Ping timeout: 255 seconds]
trev_ has quit [Remote host closed the connection]
<discocaml> <masterbuilder> it seems like `lwt.unix` does not work in Dune anymore for the Lwt_unix library, what should it be changed to?
<discocaml> <masterbuilder> hmm, or maybe nothing has changed? it works in one project but not another one, weird
<discocaml> <masterbuilder> actually it's an opam problem sorry, anyway I'll post in #opam if I can't resolve it I guess
Serpent7776 has quit [Ping timeout: 255 seconds]
spip has joined #ocaml
<discocaml> <masterbuilder> wrong switch
<discocaml> <lukstafi> What strategies do people use to not repeat type definitions (e.g. module signatures) between `ml` and `mli`, if any?
<dh`> put types in their own files
<discocaml> <lukstafi> E.g. I'm tempted to write `module type T = module type of M erasing foo_impl`
<discocaml> <NULL> The _intf trick often comes up : https://www.craigfe.io/posts/the-intf-trick