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?