Guest4671 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
infinity0 has joined #ocaml
<discocaml>
<contextfreebeer> in cmdliner, can you have an optional argument which also has an optional value? so that if it doesn't appear it gets `None`, if it appears without a value it gets `Some default`, and if a value v is given it gets `Some v`
micro has quit [Ping timeout: 264 seconds]
micro has joined #ocaml
<discocaml>
<contextfreebeer> Somehow I doubt it, might need to implement it manually
<discocaml>
<contextfreebeer> hmm, seems like it could be tricky to do that though
<discocaml>
<contextfreebeer> Probably simpler to just split it up into two options
Tuplanolla has joined #ocaml
<discocaml>
<hockletock> isn't that what `vopt` argument to `Arg.opt` is for?
waleee has quit [Ping timeout: 272 seconds]
<masterbuilder>
@hockletock oh thank you! I missed that
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
myrkraverk__ has joined #ocaml
myrkraverk_ has quit [Read error: Connection reset by peer]
myrkraverk__ has quit [Read error: Connection reset by peer]
leon_on9527 has joined #ocaml
myrkraverk__ has joined #ocaml
myrkraverk__ has quit [Read error: Connection reset by peer]
myrkraverk__ has joined #ocaml
myrkraverk__ has quit [Read error: Connection reset by peer]
myrkraverk__ has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
mima has quit [Ping timeout: 255 seconds]
tremon has quit [Quit: getting boxed in]
sixfourtwelve has joined #ocaml
sixfourtwelve is now known as glassofethanol
glassofethanol is now known as sixfourtwelve
<discocaml>
<darrenldl> huh, welp time for me to fix all the misuse : v
gentauro has quit [Read error: Connection reset by peer]
Tuplanolla has quit [Quit: Leaving.]
gentauro has joined #ocaml
sixfourtwelve has quit [Ping timeout: 272 seconds]
pi3ce has joined #ocaml
bartholin has joined #ocaml
Anarchos has joined #ocaml
mima has joined #ocaml
cr1901_ has joined #ocaml
cr1901 has quit [Read error: Connection reset by peer]
<neiluj>
despite having the mentioned library installed
<neiluj>
what could be wrong?
waleee has joined #ocaml
<Anarchos>
neiluj no idea
<discocaml>
<sim642> Did you install it into the right opam switch?
<reynir>
is the opam switch state in sync? check if `opam switch` complains about that and if so then run eval $(opam env)
<neiluj>
forgot to run eval $(opam env) indeed, thanks!
waleee has quit [Ping timeout: 268 seconds]
waleee has joined #ocaml
neiluj has quit [Ping timeout: 255 seconds]
mima has quit [Quit: leaving]
neiluj has joined #ocaml
sixfourtwelve has quit [Quit: Connection closed]
henrytill has quit [Ping timeout: 256 seconds]
conjunctive has quit [Ping timeout: 256 seconds]
conjunctive has joined #ocaml
henrytill has joined #ocaml
mbuf has joined #ocaml
pippijn has quit [Ping timeout: 260 seconds]
jabuxas has joined #ocaml
leon_on9527 has quit [Read error: Connection reset by peer]
pippijn has joined #ocaml
omegatron has joined #ocaml
jabuxas has quit [Ping timeout: 256 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
<Anarchos>
how can i investigate a failed tests/lib-format/mc_pr586_par.ml unit test ? I am really not versed in printf/format, and i know nothing at multicore
neiluj has quit [Ping timeout: 256 seconds]
<octachron>
Anarchos, this sounds like a concurrency issue in your system printf implementation
<octachron>
Did you test as companion_cube suggested if the issue still exists with %h?
<Anarchos>
octachron i did but can't remember the result.... will do it again
<Anarchos>
octachron nice result :+21. +. 21. is 0x1.5p+5 :)
neiluj has joined #ocaml
ania123 has joined #ocaml
waleee has quit [Quit: WeeChat 4.1.2]
<Anarchos>
how to build a unit test with debug info ?
<Anarchos>
in the ocaml source ?
jabuxas has joined #ocaml
bartholin has joined #ocaml
a51 has joined #ocaml
neiluj has quit [Quit: WeeChat 4.2.1]
mbuf has quit [Quit: Leaving]
boozec has joined #ocaml
ania123 has quit [Quit: Client closed]
boozec has quit [Quit: boozec]
a51 has quit [Ping timeout: 260 seconds]
a51 has joined #ocaml
infinity0 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
infinity0 has joined #ocaml
a51 has quit [Quit: WeeChat 4.2.1]
jabuxas has quit [Ping timeout: 268 seconds]
dhil has quit [Quit: Leaving]
Tuplanolla has joined #ocaml
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
<discocaml>
<functionalprogramming> is there a library to debug misbehaving Format boxes
<discocaml>
<functionalprogramming> if not, i would like to think about one
<companion_cube>
it's kind of hard to do, you have to find where it starts drifting right (which is the place you forgot to close a box, typically)
<discocaml>
<functionalprogramming> yeah, i mean there are imo more sources of error than that
<discocaml>
<functionalprogramming> this is actually motivated by me trying to use CCHashtbl.pp
<discocaml>
<functionalprogramming> where i want a box around each [<key> <sep> <val>]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<companion_cube>
hmm right
<companion_cube>
tbh I mostly use `pp_iter`, in the end :/
<discocaml>
<functionalprogramming> it looked something like pp_start:(return "@[@[") pp_stop:(return "@]@]") pp_sep:(return "@]@ @[")
<discocaml>
<functionalprogramming> (just going off the top of my head)
<discocaml>
<functionalprogramming> and uhhhh i dont think it was working ;u;