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/
wingsorc has joined #ocaml
GreaseMonkey has quit [Ping timeout: 260 seconds]
greaser|q has joined #ocaml
greaser|q has quit [Changing host]
greaser|q has joined #ocaml
greaser|q is now known as GreaseMonkey
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #ocaml
Soni has quit [Ping timeout: 248 seconds]
motherfsck has joined #ocaml
chrisz has quit [Ping timeout: 255 seconds]
chrisz has joined #ocaml
Soni has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
spip has quit [Quit: Konversation terminated!]
mbuf has joined #ocaml
trillion_exabyte has quit [Ping timeout: 255 seconds]
trillion_exabyte has joined #ocaml
trev has joined #ocaml
toastal has quit [Ping timeout: 250 seconds]
ymherklotz has quit [Ping timeout: 250 seconds]
sleepydog has quit [Ping timeout: 248 seconds]
whereiseveryone has quit [Ping timeout: 250 seconds]
pluviaq has quit [Ping timeout: 250 seconds]
sleepydog has joined #ocaml
toastal has joined #ocaml
Ankhers has quit [Ping timeout: 250 seconds]
ymherklotz has joined #ocaml
pluviaq has joined #ocaml
Ankhers has joined #ocaml
whereiseveryone has joined #ocaml
bgs has joined #ocaml
trev has quit [Quit: trev]
trev has joined #ocaml
trev has quit [Client Quit]
trev has joined #ocaml
trev has quit [Client Quit]
rwmjones|HOL is now known as rwmjones
Serpent7776 has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
bartholin has joined #ocaml
Haudegen has joined #ocaml
<vsiles> I'm using ppx_expect and I'm not sure how to write a test: I used to check the content of a list with `F.printf "%s" (show l); [%expect {| () |}]` (should be empty) but now I've got an option of list, and it should be `Some []`. Should I print the option it self, or should I match it and do something (what ?) in the None case ?
bartholin has quit [Quit: Leaving]
olle has joined #ocaml
wingsorc has quit [Ping timeout: 248 seconds]
kakadu has joined #ocaml
<octachron> vsiles, I would use Fmt.Dump.(option (list ...)) to avoid complexifying the logic of the test
spip has joined #ocaml
<vsiles> nice, I didn't know about this Dump module
<discocaml> <darrenldl> is ocaml.org doc using odoc?
<discocaml> <darrenldl> (mainly want to submit a PR for a fuzzy search module)
<discocaml> <sarna> hey, I have a couple modules that satisfy some signature. now, I'd like to write a function that could take a value from a module (SomeModule.t) that satisfies that common signature and call some functions from that signature
<discocaml> <sarna> how would I do that? or at least can somebody let me know what terms I should search for?
<discocaml> <bnguyenv> Sounds like you could use functors (https://cs3110.github.io/textbook/chapters/modules/functors.html) ? Or first-class modules.
Haudegen has quit [Quit: Bin weg.]
<discocaml> <sarna> yep, looks like that's what I've been looking for. thanks!
Haudegen has joined #ocaml
ski has quit [Remote host closed the connection]
Tuplanolla has joined #ocaml
ski has joined #ocaml
azimut has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
szkl has joined #ocaml
waleee has joined #ocaml
mbuf has quit [Quit: Leaving]
kakadu has quit [Remote host closed the connection]
kakadu has joined #ocaml
Haudegen has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
bartholin has joined #ocaml
oriba has joined #ocaml
olle has quit [Remote host closed the connection]
olle has joined #ocaml
gdd has quit [Ping timeout: 260 seconds]
gdd has joined #ocaml
amk has quit [Ping timeout: 250 seconds]
Stumpfenstiel has joined #ocaml
amk has joined #ocaml
bgs has quit [Remote host closed the connection]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Serpent7776 has quit [Ping timeout: 276 seconds]
bartholin has quit [Quit: Leaving]
hannes has quit [Ping timeout: 268 seconds]
Stumpfenstiel has quit [Ping timeout: 260 seconds]
gahr has quit [Ping timeout: 276 seconds]
wingsorc has joined #ocaml
gahr has joined #ocaml
Wojciech_K has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
Wojciech_K has joined #ocaml
Tuplanolla has quit [Ping timeout: 260 seconds]
jurassic has joined #ocaml
Haudegen has quit [Ping timeout: 250 seconds]
masterbuilder has quit [Remote host closed the connection]