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/
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #ocaml
oriba has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ocaml
noddy has joined #ocaml
chrisz has quit [Ping timeout: 265 seconds]
chrisz has joined #ocaml
spip has quit [Quit: Konversation terminated!]
Techcable has quit [Ping timeout: 252 seconds]
Techcable has joined #ocaml
Haudegen has joined #ocaml
mbuf has joined #ocaml
trev has joined #ocaml
bartholin has joined #ocaml
bgs has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
hsw_ has joined #ocaml
hsw has quit [Ping timeout: 248 seconds]
bartholin has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
Tuplanolla has joined #ocaml
duckie has quit [Quit: You have been kicked for being idle]
spip has joined #ocaml
olle has joined #ocaml
wingsorc__ has quit [Ping timeout: 255 seconds]
pie_ has quit []
pie_ has joined #ocaml
pie_ has quit [Client Quit]
pie_ has joined #ocaml
azimut has joined #ocaml
gwizon has joined #ocaml
gwizon has quit [Quit: Lost terminal]
<olle> In ReScript they have -> instead of |>
<octachron> The two are not really comparable `|>` is an user-definable standard binary operator, `->` is a complicated mixfix operator.
<olle> Is it? Hm, didn't know.
<octachron> `x -> f(y,z,...)` desugars to `f(x,y,z,...)`
<olle> Ah, it inserts "self"
* olle should learn more rescript
John_Ivan has joined #ocaml
<adrien> is the order of evaluation for List.rev_map fixed? I would expect it to be in the same order as the list but can I count it?
<companion_cube> I think so
<companion_cube> it has little point besides being tail-recursive, so…
<adrien> I was very surprised to not see it mentioned in the manual
<companion_cube> the docs don't give that much details :/
<adrien> yup :/
<adrien> I'm stack overflowing and I might just end up creating a Queue.t
<adrien> (I just stack overflowed through ikfprintf)
<adrien> I was actually building a list and using that to update an AVL tree (BatIMap); I did the right thing directly and got a 100x speedup
<adrien> and an additional 2x once I remove the logging which wasn't printed anyway
<adrien> I suspect it's not working well because that's a bit too fast
<companion_cube> just use the Logs trick
<adrien> I started this trying to avoid deps but I think I'll pull some more libs now (I'm already pulling in batteries, json-encoding and pyml...)
<discocaml> <Et7f3 (@me on reply)> And reason has placeholder f(_,y,z)
<companion_cube> no I mean, if you want efficient logging, imitate what Logs does
<companion_cube> ikfprintf is useless in the end
<adrien> yeah, I understood that but I think I'll pull an additional dependency and remove my 4-liner
mbuf has quit [Quit: Leaving]
olle has quit [Remote host closed the connection]
chrisz has quit [Ping timeout: 265 seconds]
chrisz has joined #ocaml
bartholin has joined #ocaml
Stumpfenstiel has joined #ocaml
zbroyar has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
Geekingfrog has quit [Quit: ZNC 1.8.2 - https://znc.in]
Geekingfrog has joined #ocaml
wingsorc has joined #ocaml
trev has quit [Remote host closed the connection]
neiluj has quit [Quit: WeeChat 3.7.1]
bartholin has quit [Quit: Leaving]
olle has joined #ocaml
bgs has quit [Remote host closed the connection]
John_Ivan has quit [Quit: Phantom of the future.]
olle has quit [Ping timeout: 246 seconds]
Stumpfenstiel has quit [Ping timeout: 276 seconds]
Haudegen has quit [Ping timeout: 260 seconds]
Tuplanolla has quit [Quit: Leaving.]