ygrek has quit [Remote host closed the connection]
<dh`>
the ocaml usage of "functor" is based on the claim that modules are categories, which is not completely insane but roughly the same level of accurate as the claim that software functions are math functions
<Anarchos>
just a silly question, is it an equivalent of CakeML for OCaml ?
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Tuplanolla has quit [Quit: Leaving.]
ygrek has joined #ocaml
adrien has quit [Ping timeout: 246 seconds]
terrorjack45 has quit [*.net *.split]
dh` has quit [*.net *.split]
steenuil has quit [*.net *.split]
dstein64 has quit [*.net *.split]
mal`` has quit [*.net *.split]
Ekho has quit [*.net *.split]
discocaml_ has quit [*.net *.split]
terrorjack45 has joined #ocaml
dstein64 has joined #ocaml
steenuil has joined #ocaml
Ekho has joined #ocaml
mal`` has joined #ocaml
dh` has joined #ocaml
discocaml_ has joined #ocaml
discocaml_ has quit [Excess Flood]
discocaml has joined #ocaml
<discocaml>
<astreamingcomesacrossthesky> Does anyone know if the original French version of https://ocaml.github.io/ocamlunix is floating around somewhere?
ygrek has quit [Remote host closed the connection]
<cr1901>
This is a silly question, but if I do "opam install package" and I forgot to do "eval $(opam config env)" beforehand, which ocaml compilers do the packages get installed for (or does opam only handle downloading sources)?
<discocaml>
<nojb_77943> The compilers in the current switch (see "opam switch" to see which one)
cr1901_ has joined #ocaml
cr1901 has quit [Ping timeout: 248 seconds]
Serpent7776 has joined #ocaml
<discocaml>
<._null._> opam handles itself completely, eval opam env is only for updating the path so that the installed packages are properly found by all other things
keyle has left #ocaml [#ocaml]
bartholin has joined #ocaml
Haudegen has joined #ocaml
m5zs7k has quit [Ping timeout: 246 seconds]
ol0ck has quit [Ping timeout: 245 seconds]
bartholin has quit [Quit: Leaving]
m5zs7k has joined #ocaml
mange has quit [Quit: Zzz...]
Haudegen has quit [Quit: Bin weg.]
alexherbo2 has joined #ocaml
Guest56 has quit [Quit: Client closed]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
euphores has quit [Ping timeout: 246 seconds]
euphores has joined #ocaml
<discocaml>
<lukstafi> Just curious: why backward compatibility, e.g. the new ppxlib, extends all the way back to 4.08, rather than 4.11? (4.11 stands out to me as it's where MetaOCaml stayed for quite a while.)
Haudegen has joined #ocaml
Putonlalla has quit [Ping timeout: 252 seconds]
Putonlalla has joined #ocaml
olle has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
<discocaml>
<lima.leonardo> Hi all. I have a fairly large (~6GB) text file and I would like to get random access to its lines based on an index (i.e., 0, 1, 2, ...). Is there a proper way to do this in OCaml?
<discocaml>
<lima.leonardo> (I am aware of `Unix.map_file` but was wondering if I could work with lines directly.)
<companion_cube>
you probably need to traverse the whole thing to build a map from line number to byte offset
<companion_cube>
then use mmap or seek when you want to access a given line
<discocaml>
<lima.leonardo> Alright. Thanks!
ygrek has joined #ocaml
rak has quit [Quit: Segmentation fault (core recycled)]
rak has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
euphores has quit [Quit: Leaving.]
patrick_ is now known as patrick
<discocaml>
<.geopenguin> I wish you all a beautiful time and space within this group. For me, it is time to depart, I appreciate the OCAML help ladies and gentlemen. Sayonara!