rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nd__ has quit [Ping timeout: 272 seconds]
nd__ has joined #ocaml
mro has joined #ocaml
dextaa_ has quit [Remote host closed the connection]
gahr has quit [Quit: leaving]
gahr has joined #ocaml
Everything has quit [Quit: leaving]
humasect has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
humasect has quit [Remote host closed the connection]
Anarchos has joined #ocaml
gdd has quit [Ping timeout: 272 seconds]
olle has joined #ocaml
spip has quit [Ping timeout: 240 seconds]
spip has joined #ocaml
Anarchos has quit [Ping timeout: 240 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
adanwan has quit [Ping timeout: 240 seconds]
adanwan has joined #ocaml
Anarchos has joined #ocaml
bartholin has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
<d_bot_>
<VPhantom> (Although I couldn't resist writing my own DIY wrapper around `Stdlib.Arg` to facilitate GNU-style short+long arguments and such. 😉)
bartholin has quit [Ping timeout: 272 seconds]
bartholin has joined #ocaml
salkin has joined #ocaml
<d_bot_>
<froyo> hey does ocaml compiler dev team have git-format-patch, git-send-email workflows outside of gh?
dextaa_ has quit [Remote host closed the connection]
Haudegen has joined #ocaml
<companion_cube>
@VPhantom: little trick: Arg.align :)
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
gravicappa has quit [Ping timeout: 272 seconds]
<d_bot_>
<VPhantom> Whoa, I hadn't noticed that one when I wrote my own. Nice.
<d_bot_>
<VPhantom> I'll admit, I have yet to explore `Format` and such. I just do very basic things right now with `Printf`.
<companion_cube>
you need a space at the beginning of each description, but it's nice
<companion_cube>
ah, Format is useful
<companion_cube>
a bit cryptic but quite powerful
<d_bot_>
<VPhantom> I'll have to dive into it eventually to make `utop` pretty printers. For now I have avoided it by making `to_yojson` functions on the structures I want to inspect.
<companion_cube>
you can use ppx_deriving.show, too
<d_bot_>
<VPhantom> Yeah I saw that; but it wouldn't have handled `Hashtbl.t` so it ended up being easier to output a Yojson tree. Bonus: I can save those to file and explore them with other tools if need be.
<companion_cube>
ah I see
mro_ has joined #ocaml
mro_ has quit [Remote host closed the connection]
mro has quit [Ping timeout: 250 seconds]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
zebrag has joined #ocaml
mro has joined #ocaml
gravicappa has joined #ocaml
mro has quit [Ping timeout: 272 seconds]
bobo has joined #ocaml
spip has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ocaml
vicfred has joined #ocaml
mro has joined #ocaml
<d_bot_>
<mbacarella> pop quiz: is a float *option* array more space efficient than a float *option* list. true or false
<d_bot_>
<mbacarella> (this isn't a @craigfe style mind-blowing fact about ocaml, just using you guys as an assert statement)
<companion_cube>
true
<companion_cube>
because arrays are always a bit more compact than lists
<companion_cube>
for n items, you pay n words (array) + 1 or 2 words for None/Some f
<companion_cube>
for each*
<d_bot_>
<mbacarella> I'm aware that if i could be comfortable with using nan as a surrogate for option, I could get maximum space efficiency by using Float.Array.t
<companion_cube>
yeah
zebrag has quit [Quit: Konversation terminated!]
mro has quit [Ping timeout: 256 seconds]
zebrag has joined #ocaml
<d_bot_>
<octachron> You coud also have a private float array type where you do the float + nan -> float option conversion on the fly on access.
mjacob has quit [Read error: Connection reset by peer]
<companion_cube>
you can use a given nan, too
<companion_cube>
with ==
mjacob has joined #ocaml
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
waleee has joined #ocaml
mbuf has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 240 seconds]
mro has quit [Ping timeout: 240 seconds]
mro has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
bartholin has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
rgrinberg has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
rgrinberg has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gravicappa has quit [Ping timeout: 272 seconds]
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
mro has joined #ocaml
rgrinberg has joined #ocaml
mro has quit [Quit: Leaving...]
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
Tuplanolla has joined #ocaml
Anarchos has joined #ocaml
wyrd has quit [Ping timeout: 240 seconds]
wyrd has joined #ocaml
spip has joined #ocaml
bobo has quit [Ping timeout: 256 seconds]
bgs has quit [Ping timeout: 256 seconds]
bgs has joined #ocaml
motherfsck has quit [Ping timeout: 256 seconds]
Serpent7776 has quit [Quit: leaving]
greyrat_ has quit [Ping timeout: 240 seconds]
greyrat has joined #ocaml
pippijn has quit [Ping timeout: 240 seconds]
pippijn has joined #ocaml
hackinghorn has joined #ocaml
hackinghorn has quit [Changing host]
hackinghorn has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
hackinghorn has quit [Quit: Leaving]
hackinghorn has joined #ocaml
hackinghorn has quit [Client Quit]
salkin has quit [Ping timeout: 256 seconds]
hackinghorn has joined #ocaml
hackinghorn has quit [Client Quit]
hackinghorn has joined #ocaml
hackhorn has joined #ocaml
hackinghorn has quit [Ping timeout: 256 seconds]
hackhorn is now known as hackinghorn
Tuplanolla has quit [Quit: Leaving.]
hackhorn has joined #ocaml
hackinghorn has quit [Read error: Connection reset by peer]
olle has quit [Ping timeout: 272 seconds]
hackhorn has quit [Remote host closed the connection]
hackinghorn has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
hackinghorn has quit [Remote host closed the connection]