adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
pierpa has quit [Quit: Page closed]
ziyourenxiang has quit [Ping timeout: 264 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
mfp has quit [Ping timeout: 272 seconds]
kvda has joined #ocaml
cobax has quit [Ping timeout: 250 seconds]
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 244 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
steenuil has quit [Ping timeout: 245 seconds]
silver has quit [Quit: rakede]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steenuil has joined #ocaml
pierpal has joined #ocaml
ftlight has quit [Quit: ヾ(´¬`)ノ]
ftlight has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 252 seconds]
caltelt has joined #ocaml
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 244 seconds]
neatonk has quit [Ping timeout: 264 seconds]
jbrown has quit [Ping timeout: 246 seconds]
neatonk has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 252 seconds]
kvda has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Client Quit]
pierpal has joined #ocaml
erkin has quit [Remote host closed the connection]
pierpal has quit [Read error: Connection reset by peer]
_whitelogger has joined #ocaml
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 245 seconds]
tsmc has joined #ocaml
caltelt_ has joined #ocaml
caltelt_ has quit [Remote host closed the connection]
thomas_scrace has joined #ocaml
dxtr has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomas_scrace has quit [Ping timeout: 252 seconds]
dxtr has joined #ocaml
kvda has joined #ocaml
bartholin has joined #ocaml
kvda has quit [Client Quit]
caltelt has quit [Ping timeout: 244 seconds]
sapristi has joined #ocaml
dmiles has quit [Read error: Connection reset by peer]
sapristi has quit [Read error: Connection reset by peer]
dmiles has joined #ocaml
orbifx has joined #ocaml
sagotch has joined #ocaml
Guest53770 has joined #ocaml
orbifx has quit [Ping timeout: 264 seconds]
ia0 has quit [Quit: reboot]
ia0 has joined #ocaml
TheLemonMan has joined #ocaml
rwmjones|hols is now known as rwmjones
ollehar_ has joined #ocaml
AltGr has joined #ocaml
tsmc has quit [Quit: Connection closed for inactivity]
Guest53770 has quit [Remote host closed the connection]
jaar has joined #ocaml
mfp has joined #ocaml
thomas_scrace has joined #ocaml
freyr69 has joined #ocaml
bartholin has quit [Remote host closed the connection]
thomas_scrace has quit [Ping timeout: 240 seconds]
tsmc has joined #ocaml
thomas_scrace has joined #ocaml
Adr1 has joined #ocaml
pierpal has joined #ocaml
eminhi has joined #ocaml
pierpal has quit [Remote host closed the connection]
<eminhi> Hi, I'm using merlin with emacs. After a system update, merlin is showing "Unbound Module Pervasives" etc.. for all libraries. ocamlc is working fine. Is this a problem with emacs-merlin config?
<octachron> eminhi, if you are using your system compiler, it might be a version mismatch between merlin and the system compiler: in this case uou should reinstall merlin
<eminhi> octachron: I'll try re-installing merlin
<eminhi> octachron: Thank you, uninstalling os-packaged-merlin and using opam installed merlin solved the problem.
ziyourenxiang has joined #ocaml
dinosaure has quit [Ping timeout: 245 seconds]
m_v_m has joined #ocaml
<sshine> is there a standard function in Base that converts a List.Or_unequal_lengths into an Option.t?
<sshine> or am I doomed to write 'match List.fold2 ... of Ok x -> Some x | Unequal_lengths -> None'?
eminhi has quit [Ping timeout: 252 seconds]
ollehar has joined #ocaml
<discord> <rgrinberg> What's wrong with pattern matching?
thomas_scrace has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
spew has joined #ocaml
freyr69 has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
thomas_scrace has joined #ocaml
silver has joined #ocaml
tsmc has quit [Quit: Connection closed for inactivity]
<Ulrar> Doesn't the Command module described in https://dev.realworldocaml.org/command-line-parsing.html not exist ?
<Ulrar> That sentence doesn't make any sense, does it exist ?
<rks`> it exists.
<Ulrar> Has it been moved in some lib ?
Bronsa has joined #ocaml
<Ulrar> I just get an unbound module Command
<rks`> have you opened Core ?
<Ulrar> Ah, so it's Core.Command ?
<rks`> yes
<Ulrar> so, dumb question, how do you get core ?
<Ulrar> adding it to libraries in the dune file doesn't seem to work
<zozozo> Ulrar: you need to install it (preferably via opam) first
<Ulrar> Oh core is an actual library ?
<Ulrar> that's misleading
<Ulrar> with a whole lot of dependencies apparently
<zozozo> yeah, it is one of the stdlib extension/replacements that people use
<Ulrar> I see
<Ulrar> I'll just use something else then
<zozozo> there is core_kernel, and now base, that provide the core/bas eof the functionalities in core, and have lighter dependencies
<Ulrar> core_kernel still has a lot of dependencies
<zozozo> indeed
<Ulrar> base doesn't, but it doesn't seem to have a command module
<zozozo> personally I don't use core (nor core_kernel or base)
<Ulrar> I'll just use something else, maybe just Arg
<zozozo> but if you want a Command module, there is the very well designed cmdliner package
<Ulrar> It's not like it's that hard, it just looked interesting in the doc
<Ulrar> I thought core was shipped with the compiler
<Ulrar> given the name
<Ulrar> I'll take a look at cmdliner then
<zozozo> ah, that's a common misconception, ^^
<Ulrar> thanks
<Ulrar> I'm not surprised
gareppa has joined #ocaml
ygrek has joined #ocaml
<companion_cube> Arg is fine
al-damiri has joined #ocaml
<flux[m]> aargh! the mutations!
<companion_cube> so what?
<companion_cube> you can keep them local if you prefer
<flux[m]> but in the end you create a record you pass to functions. the repetition!
<companion_cube> ah, in my case it's a mix of global vars (eg log), named arguments, and perhaps one record
<chindy> What Am i missing in this implementation of quicksort with a random pivot: https://pastebin.com/71bNUyJw for some reason the lists dont decrease
<reynir> your comparison function for List.partition takes a random element for every comparison
<octachron> chindy, what is quicksort [0]?
ygrek has quit [Ping timeout: 246 seconds]
jao has joined #ocaml
gareppa has quit [Quit: Leaving]
trochdewei has joined #ocaml
igitoor has quit [Ping timeout: 252 seconds]
igitoor has joined #ocaml
ollehar_ has quit [Read error: Connection reset by peer]
ollehar has quit [Read error: Connection reset by peer]
thomas_scrace has quit [Read error: Connection reset by peer]
thomas_scrace has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
trochdewei has quit [Quit: Leaving]
jbrown has joined #ocaml
bartholin has joined #ocaml
sagotch has quit [Quit: Leaving.]
m_v_m has quit [Ping timeout: 250 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
dhil has joined #ocaml
FreeBirdLjj has joined #ocaml
Bronsa has quit [Ping timeout: 272 seconds]
jaar has quit [Quit: Leaving]
dhil has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 272 seconds]
Haudegen has quit [Remote host closed the connection]
thomas_scrace has quit [Ping timeout: 245 seconds]
sagotch has joined #ocaml
sagotch has quit [Client Quit]
dedgrant has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
sz0 has joined #ocaml
elfring has joined #ocaml
Guest33067 has joined #ocaml
cschneid has quit [Ping timeout: 240 seconds]
Adr1 has quit [Quit: WeeChat 2.2]
cschneid has joined #ocaml
pierpal has joined #ocaml
r3s1stanc3_ has joined #ocaml
r3s1stanc3 has quit [Ping timeout: 245 seconds]
Guest33067 has quit [Ping timeout: 252 seconds]
Jesin has quit [Quit: Leaving]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 272 seconds]
elfring has quit [Quit: Konversation terminated!]
pierpal has joined #ocaml
jnavila has joined #ocaml
Jesin has joined #ocaml
pierpa has joined #ocaml
AltGr has quit [Quit: Konversation terminated!]
jnavila has quit [Remote host closed the connection]
moei has joined #ocaml
spew has quit [Quit: good night]
bartholin has quit [Remote host closed the connection]
amcorvi has joined #ocaml
caltelt has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 252 seconds]