Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
<d_bot_> <Lewis Campbell> Can anyone recommend a good lib for numeric arrays that are packed tightly in memory? Like say the analogue of Float.Array but for different size ints
<companion_cube> standard bigarrays
<d_bot_> <Lewis Campbell> thanks @companion_cube should have searched the std lib a bit better
x88x88x has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
kaph_ has quit [Ping timeout: 250 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
spip has joined #ocaml
bobo has quit [Ping timeout: 240 seconds]
tomku has quit [Ping timeout: 256 seconds]
tomku has joined #ocaml
mbuf has joined #ocaml
Haudegen has joined #ocaml
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
gravicappa has joined #ocaml
hackhorn has joined #ocaml
hackinghorn has joined #ocaml
hackhorn has quit [Ping timeout: 272 seconds]
bartholin has joined #ocaml
kakadu has joined #ocaml
olle has joined #ocaml
kaph has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
bartholin has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
epony has quit [Quit: QUIT]
chrisz has joined #ocaml
Haudegen has joined #ocaml
epony has joined #ocaml
gwizon has joined #ocaml
rgrinberg has joined #ocaml
gwizon has quit [Quit: Lost terminal]
rgrinberg has quit [Ping timeout: 250 seconds]
olle has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
<d_bot_> <dariusf> when doing something like `Format.printf "@[<2>@,%a@]" pp t`, is there any reason why i could get an amount of indentation that's way more than 2 spaces? i've not been able to repro with a small example, but for some reason the line after t is printed has 27 leading spaces, while the line before has 0
<d_bot_> <dariusf> pp is generated by ppx_deriving
<companion_cube> do you happen to use \n in your format string?
rgrinberg has quit [Read error: Connection reset by peer]
<d_bot_> <dariusf> not in that particular one, but there are newlines in other printf calls
Haudegen has quit [Quit: Bin weg.]
<companion_cube> well if you mix \n with format, format is going to be lost as of what level of indentation is active
vicfred has joined #ocaml
mbuf has quit [Quit: Leaving]
<d_bot_> <octachron> It is more than Format is totally oblivious to `\n` in format strings.
<companion_cube> same thing
rgrinberg has joined #ocaml
lobo has quit [Quit: lobo]
<d_bot_> <octachron> Another potential issue is that there is a line break at the very start of the box. If they are multiple nested boxes, you might see the indentation of all the nested box all at once.
vicfred has quit [Quit: Leaving]
lobo has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
<d_bot_> <dariusf> i see, thanks for the tips! the last one sounds like it could be the cause. i'll get rid of \n to be safe
olle has joined #ocaml
bartholin has quit [Quit: Leaving]
ns12 has quit [Quit: bye]
ns12 has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
Haudegen has joined #ocaml
zebrag has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
rgrinberg has joined #ocaml
malc has joined #ocaml
malc has left #ocaml [ERC (IRC client for Emacs 28.0.50)]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
unyu has quit [Quit: brb]
kaph has joined #ocaml
olle has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
unyu has joined #ocaml
rgrinberg has joined #ocaml
Serpent7776 has quit [Quit: leaving]
wyrd has quit [Ping timeout: 240 seconds]
wyrd has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 272 seconds]
<d_bot_> <raedr7n> Hey, sorry if this has been asked to death, but I can't find much online that's recent. I'm llooking at selecting a new alternative stdlib for my next few ocaml projects, and I'm stuck between containers and betteries included. Could someone give me the lowdown on the basic differences? I know they both take a similar approach, by extending the standard library, but I'm trying to avoid reading their entire source codes if I can
unyu has quit [Quit: WeeChat 3.4]