adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
liberiga has joined #ocaml
unyu has quit [Remote host closed the connection]
jao has quit [Remote host closed the connection]
Guest44921 has joined #ocaml
Guest44921 has quit [Remote host closed the connection]
unyu has joined #ocaml
jao- has joined #ocaml
jao- is now known as jao
Hrundi_V_Bakshi has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
malina has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 268 seconds]
liberiga has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #ocaml
amiloradovsky has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 265 seconds]
Jeanne-Kamikaze has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #ocaml
mfp has joined #ocaml
cobreadmonster has joined #ocaml
count3rmeasure has joined #ocaml
jao has quit [Ping timeout: 245 seconds]
mfp has quit [Ping timeout: 245 seconds]
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
zmt00 has quit [Quit: Leaving]
Jeanne-Kamikaze has quit [Ping timeout: 240 seconds]
zmt00 has joined #ocaml
count3rmeasure has quit [Ping timeout: 276 seconds]
_whitelogger has joined #ocaml
vicfred has joined #ocaml
cobreadmonster has quit [Quit: Connection closed for inactivity]
ggole has joined #ocaml
_whitelogger has joined #ocaml
gravicappa has joined #ocaml
mbuf has quit [Quit: Leaving]
mbuf has joined #ocaml
narimiran has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
jnavila has joined #ocaml
kakadu has joined #ocaml
gareppa has joined #ocaml
tg has quit [Excess Flood]
tg has joined #ocaml
gareppa has quit [Quit: Leaving]
mfp has joined #ocaml
gareppa has joined #ocaml
narimiran has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
gareppa has quit [Quit: Leaving]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
jao has joined #ocaml
zolk3ri has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
bitwinery has quit [Quit: Leaving]
malc_ has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
_5HT has joined #ocaml
malina has joined #ocaml
_5HT has quit [Remote host closed the connection]
_5HT has joined #ocaml
_5HT has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
haesbaert has joined #ocaml
narimiran has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
AtumT has joined #ocaml
ziyourenxiang has quit [Remote host closed the connection]
ziyourenxiang has joined #ocaml
analogue has joined #ocaml
malc_ has quit [Ping timeout: 240 seconds]
gravicappa has quit [Ping timeout: 276 seconds]
malc_ has joined #ocaml
FreeBirdLjj has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
mbuf has quit [Quit: Leaving]
Haudegen has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 265 seconds]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
jao has joined #ocaml
gareppa has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
malina has quit [Remote host closed the connection]
kakadu has joined #ocaml
malina has joined #ocaml
gravicappa has joined #ocaml
ziyourenxiang has quit [Ping timeout: 268 seconds]
malina has quit [Remote host closed the connection]
malina has joined #ocaml
p4bl0 has joined #ocaml
hvn has joined #ocaml
gareppa has joined #ocaml
Traviss__ has quit [Quit: Leaving]
traviss has quit [Quit: Leaving]
traviss has joined #ocaml
Traviss__ has joined #ocaml
Traviss__ has quit [Client Quit]
<p4bl0> Hi :). How do I open a string as an input channel in OCaml?
GreyFaceNoSpace has joined #ocaml
gareppa has quit [Quit: Leaving]
hvn has quit [Ping timeout: 265 seconds]
analogue has quit [Remote host closed the connection]
analogue has joined #ocaml
andrewlitteken has joined #ocaml
gareppa has joined #ocaml
<narimiran> p4bl0: `open_in "my/path"` ? (note: i'm a complete ocaml beginner)
hvn has joined #ocaml
count3rmeasure has joined #ocaml
<p4bl0> narimiran: that would open the my/path file as an input channel
<p4bl0> I would like to open a string, not a file
<narimiran> oh, i misunderstood you
hvn has quit [Ping timeout: 265 seconds]
Serpent7776 has joined #ocaml
count3rmeasure has quit [Ping timeout: 265 seconds]
gareppa has quit [Quit: Leaving]
zolk3ri has joined #ocaml
andrewlitteken has quit []
q9929t has joined #ocaml
q9929t has quit [Client Quit]
analogue has quit [Remote host closed the connection]
analogue has joined #ocaml
gareppa has joined #ocaml
<octachron> p4bl0, you cannot directly. There are various workaround depending on what you are trying to do.
<p4bl0> okay, thanks :)
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ocaml
hvn has joined #ocaml
hvn has quit [Ping timeout: 265 seconds]
<p4bl0> is it possible at all to use ocaml without a build system like ocamlbuild or dune?
<p4bl0> I'm trying to compile "by hand" a very little project and it's a nightmare
<malc_> p4bl0: sure
malina has quit [Remote host closed the connection]
<p4bl0> it is possible in theory, but in practice it is *hard*
<octachron> which is the very reason why build system like ocamlbuild or dune exists
<ggole> If you only have a few files you can get by with ocamlfind
KeyJoo has joined #ocaml
<p4bl0> yeah, i guess it's the way to go
vicfred has quit [Quit: Leaving]
<p4bl0> that said, I have another issue with ocamlbuild, which is actually not its fault but seems to be a bug in menhir (the .mli generated by the --infer option is bogus and makes ocamlbuild fail)
<companion_cube> why not use dune, sorry?
vicfred has joined #ocaml
bartholin has quit [Remote host closed the connection]
hvn has joined #ocaml
gareppa has quit [Quit: Leaving]
hvn has quit [Ping timeout: 240 seconds]
_5HT has joined #ocaml
_5HT has quit [Remote host closed the connection]
<p4bl0> companion_cube: I would like to avoid having to learn yet another tool when it's just to show a little demo to my students
<p4bl0> anyway, ocamlbuild would do the job if it wasn't for menhir's bug
<p4bl0> okay, I got what was wrong: in the %type declaration in menhir, it is mandatory to use the fully qualified type name, even if you have open'd the corresponding module
<p4bl0> ocamlbuild works
<p4bl0> yay
<companion_cube> well as you wish, it's just simpler with dune
<p4bl0> I'll give it a look when I have some time :)
<companion_cube> look for example files, would be my advice :)
zolk3ri has quit [Ping timeout: 260 seconds]
<companion_cube> for just a binary it can be super super simple
zolk3ri has joined #ocaml
jnavila has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 276 seconds]
ggole has quit [Quit: Leaving]
<p4bl0> simpler than ocamlbuild? I have nothing to do except "ocamlbuild -use-menhir test.byte"
<companion_cube> I meant, compared to doing things manually or with a makefile.
<companion_cube> (and it supplanted ocamlbuild for good reasons)
<p4bl0> okay :)
<companion_cube> for a tiny project, ocamlbuild is fine, indeed :)
analogue has quit [Quit: Leaving]
narimiran has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
Serpent7776 has quit [Quit: leaving]
rwmjones has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rwmjones has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
sshine has joined #ocaml
<sshine> I see that the package 'ounit' has the description 'This is a transition package, ounit is now ounit2' -- does that mean one should be referring to 'ounit2' in dependencies?
<sshine> also, someone said that referring to 'oUnit' in a dune file wouldn't work on their Mac. did capitalization conventions change, or is it incidental and wrong that 'oUnit' even worked at some point?
Haudegen has quit [Ping timeout: 240 seconds]
bitwinery has joined #ocaml
<companion_cube> it's oUnit for me
<companion_cube> could be somthing addressed in the last release
amiloradovsky has quit [Ping timeout: 245 seconds]
weird_error has joined #ocaml
AtumT_ has joined #ocaml
AtumT has quit [Read error: Connection reset by peer]
KeyJoo has quit [Quit: KeyJoo]
<sshine> companion_cube, isn't it "ounit" on OPAM? https://opam.ocaml.org/packages/ounit/
<companion_cube> yes, but opam and ocamlfind don't always agree… 😅
<companion_cube> (on the exact name)
<Leonidas> companion_cube: yes, ounit2 = ounit2 = ounit2 if I understand correctly
<companion_cube> :DDD yay
<sshine> companion_cube, what's supposed to be in a 'dune' file under '(libaries base oUnit)'?
<companion_cube> if you use the new ounit2 package, you mean? I suppose it's `ounit2`
<sshine> ah.
ziyourenxiang has joined #ocaml
weird_error has quit [Quit: weird_error]
jao has quit [Ping timeout: 240 seconds]
weird_error has joined #ocaml
weird_error has quit [Client Quit]