companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
tranzystorekk has joined #ocaml
Anarchos has joined #ocaml
ygrek has joined #ocaml
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?
adrien has joined #ocaml
Everything has quit [Ping timeout: 252 seconds]
<discocaml> <astreamingcomesacrossthesky> Thanks @anmonteiro !
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)?
casastorta has quit [Quit: ZNC 1.9.1 - https://znc.in]
casastorta has joined #ocaml
casastortaAway has joined #ocaml
<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!
<olle> companion_cube: or use a database?
Haudegen has quit [Quit: Bin weg.]
olle has quit [Ping timeout: 244 seconds]
<companion_cube> depends what you want to do?
Guest56 has joined #ocaml
Haudegen has joined #ocaml
bartholin has joined #ocaml
patrick has quit [Changing host]
patrick_ has joined #ocaml
patrick_ is now known as patrick
patrick has quit [Changing host]
patrick_ has joined #ocaml
Guest56 has quit [Quit: Client closed]
Guest16 has joined #ocaml
<Soni> can you do GUI in ocaml?
patrick_ is now known as patrick
patrick is now known as Guest7306
Guest7306 has quit [Killed (silver.libera.chat (Nickname regained by services))]
patrick_ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Guest16 has quit [Quit: Client closed]
Anarchos has joined #ocaml
hsw_ has quit [Remote host closed the connection]
hsw_ has joined #ocaml
oriba has joined #ocaml
Guest20 has joined #ocaml
Guest20 has left #ocaml [#ocaml]
cr1901_ has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
cr1901 has joined #ocaml
mange has joined #ocaml
Tuplanolla has joined #ocaml
Serpent7776 has quit [Ping timeout: 276 seconds]
ygrek has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]