companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
Soni has quit [Ping timeout: 252 seconds]
darchitect has quit [Ping timeout: 248 seconds]
darchitect has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
John_Ivan has quit [Quit: Ghost of the future.]
jlrnick has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
jlrnick has quit [Ping timeout: 244 seconds]
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 256 seconds]
jlrnick has joined #ocaml
John_Ivan has joined #ocaml
rgrinberg has joined #ocaml
jlrnick has quit [Ping timeout: 255 seconds]
jpds1 has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
jlrnick has joined #ocaml
jpds has quit [Ping timeout: 268 seconds]
jlrnick has quit [Ping timeout: 244 seconds]
trev has joined #ocaml
williewillus has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
jlrnick has joined #ocaml
Serpent7776 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jlrnick has quit [Ping timeout: 256 seconds]
rgrinberg has joined #ocaml
gopiandc1 has quit [Read error: Connection reset by peer]
Serpent7776 has quit [Ping timeout: 256 seconds]
gopiandc1 has joined #ocaml
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
faultline has joined #ocaml
jlrnick has joined #ocaml
Techcable has quit [Remote host closed the connection]
azimut has quit [Ping timeout: 268 seconds]
Techcable has joined #ocaml
gopiandc1 has quit [Ping timeout: 256 seconds]
gopiandc1 has joined #ocaml
hannes has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has joined #ocaml
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
olle has joined #ocaml
bartholin has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
gopiandc1 has quit [Ping timeout: 256 seconds]
gopiandc1 has joined #ocaml
wonko has joined #ocaml
cedric has joined #ocaml
orbifx has joined #ocaml
kakadu has joined #ocaml
gopiandc1 has quit [Ping timeout: 256 seconds]
gopiandc1 has joined #ocaml
gopiandc1 has quit [Ping timeout: 244 seconds]
gopiandc1 has joined #ocaml
mbuf has joined #ocaml
Serpent71 has joined #ocaml
Serpent7776 has quit [Ping timeout: 268 seconds]
Miyu-saki has joined #ocaml
gopiandc1 has quit [Ping timeout: 248 seconds]
gopiandc1 has joined #ocaml
wonko has quit [Ping timeout: 256 seconds]
sagax has quit [Ping timeout: 256 seconds]
spip has joined #ocaml
bobo_ has quit [Ping timeout: 256 seconds]
Soni has joined #ocaml
wonko has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
wonko has quit [Ping timeout: 256 seconds]
Haudegen has joined #ocaml
waleee has joined #ocaml
wonko has joined #ocaml
gopiandc1 has quit [Ping timeout: 244 seconds]
gopiandc1 has joined #ocaml
gwizon has joined #ocaml
wonko has quit [Ping timeout: 255 seconds]
szkl has joined #ocaml
rwmjones has quit [Ping timeout: 264 seconds]
gwizon has quit [Ping timeout: 268 seconds]
jpds1 has quit [Ping timeout: 268 seconds]
gwizon has joined #ocaml
jpds1 has joined #ocaml
orbifx has quit [Ping timeout: 268 seconds]
kakadu_ has joined #ocaml
adanwan_ has quit [Quit: _]
adanwan has joined #ocaml
kakadu has quit [Ping timeout: 248 seconds]
jlrnick has quit [Ping timeout: 256 seconds]
wonko has joined #ocaml
waleee has quit [Quit: WeeChat 3.6]
Serpent71 has quit [Read error: Connection reset by peer]
Serpent71 has joined #ocaml
Serpent7776 has joined #ocaml
Serpent71 has quit [Ping timeout: 252 seconds]
zebrag has joined #ocaml
Serpent71 has joined #ocaml
Serpent7776 has quit [Ping timeout: 244 seconds]
John_Ivan_ has joined #ocaml
Serpent7776 has joined #ocaml
John_Ivan has quit [Ping timeout: 268 seconds]
Serpent71 has quit [Ping timeout: 256 seconds]
wonko has quit [Ping timeout: 248 seconds]
rgrinberg has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
gareppa has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gareppa has quit [Quit: Leaving]
rgrinberg has joined #ocaml
h11 has quit [Quit: You have been kicked for being idle]
raskol has joined #ocaml
Tuplanolla has joined #ocaml
Serpent7776 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbifx has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
raskol has quit [Ping timeout: 252 seconds]
jpds1 has quit [Remote host closed the connection]
adanwan has quit [Write error: Broken pipe]
adanwan has joined #ocaml
jpds1 has joined #ocaml
motherfsck has joined #ocaml
rgrinberg has joined #ocaml
neiluj has joined #ocaml
<neiluj> Hi! Wrote this piece of code hastily, wondering if this can be simplified: https://tpaste.us/Vv8J
<neiluj> this function minimizes abs(2^x 3^y 11^z 19^t - n) for x positive int, y\in{0,1}, z\in{0,1}, t\in{0,1}
<neiluj> and returns the argument [2^x, 3^y, 11^z, 19^t] that minimizes this expression
mbuf has quit [Quit: Leaving]
adanwan has quit [Remote host closed the connection]
jpds1 has quit [Remote host closed the connection]
adanwan has joined #ocaml
jpds1 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szkl has joined #ocaml
wonko has joined #ocaml
<neiluj> simplified the function a bit: https://tpaste.us/m6XL
azimut has joined #ocaml
raskol has joined #ocaml
jpds1 has quit [Ping timeout: 268 seconds]
jpds1 has joined #ocaml
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 256 seconds]
<olle> So for inline test with dune, ppx etc, can I just any tests in any file? I wanna split it up...
<olle> add tests*
trev has quit [Remote host closed the connection]
raskol has quit [Ping timeout: 256 seconds]
rwmjones has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
jpds1 has quit [Remote host closed the connection]
Techcable has quit [Ping timeout: 256 seconds]
jpds1 has joined #ocaml
waleee has joined #ocaml
wonko has quit [Ping timeout: 255 seconds]
wonko has joined #ocaml
Serpent7776 has quit [Quit: leaving]
nvaxplus has joined #ocaml
<nvaxplus> does anyone know if using state in ppx derivers is safe? e.g. let's say I want to writer a deriver which generates serialization or whatever, but if a given type has other types it refers to, I might need to register those first so it knows how to deal with them. Can I store the results in like a HashTbl or whatever?
<nvaxplus> so the idea is that there would be a global variable for my deriver which keeps track of which types have been registered
<nvaxplus> or rather, in the module which defines
wonko has quit [Ping timeout: 248 seconds]
ralu1 has quit [Ping timeout: 268 seconds]
orbifx has quit [Quit: orbifx]
olle has quit [Ping timeout: 268 seconds]
bartholin has quit [Quit: Leaving]
ralu1 has joined #ocaml
spip has quit [Ping timeout: 248 seconds]
bobo_ has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
nvaxplus has quit [Ping timeout: 248 seconds]
azimut_ has quit [Remote host closed the connection]
azimut has joined #ocaml
nvaxplus has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
neiluj has quit [Quit: Leaving]
gwizon has quit [Ping timeout: 256 seconds]
wonko has joined #ocaml
wonko has quit [Ping timeout: 244 seconds]
rgrinberg has joined #ocaml
faultline has quit [Ping timeout: 256 seconds]
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #ocaml
williewillus has joined #ocaml