adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 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
sz0 has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ocaml
recj has quit [Ping timeout: 250 seconds]
<kit_ty_kate> Leonidas: ^^
<kit_ty_kate> indeed
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
carlosdagos has joined #ocaml
silver has quit [Read error: Connection reset by peer]
jjmeyer0 has joined #ocaml
recj has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
recj has quit [Quit: Lost terminal]
ygrek__ has joined #ocaml
mfp has quit [Ping timeout: 268 seconds]
jao has quit [Ping timeout: 246 seconds]
jjmeyer0 has quit [Ping timeout: 272 seconds]
jao has joined #ocaml
pierpal has joined #ocaml
marvin2 has quit []
marvin2 has joined #ocaml
ygrek__ has quit [Ping timeout: 250 seconds]
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 268 seconds]
jao has quit [Ping timeout: 250 seconds]
cobreadmonster has joined #ocaml
malina has joined #ocaml
shiinko16 has joined #ocaml
shiinko16 has quit [Ping timeout: 250 seconds]
ygrek__ has joined #ocaml
andrewalker has quit [Quit: ZNC 1.6.2 - http://znc.in]
cobreadmonster has quit [Quit: Connection closed for inactivity]
mildtaste has joined #ocaml
nolanv has quit [Ping timeout: 272 seconds]
nolanv has joined #ocaml
Birdface has joined #ocaml
SU2xU1 has quit [Ping timeout: 246 seconds]
ygrek__ has quit [Ping timeout: 250 seconds]
sagotch has joined #ocaml
Birdface has quit [Remote host closed the connection]
Haudegen has joined #ocaml
malina has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
kvik has joined #ocaml
pierpal has joined #ocaml
andrewalker has joined #ocaml
carlosdagos has quit [Quit: Connection closed for inactivity]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
<reynir> I'm using dune, and I wanted to use ppx_blob to "include" a text file - but ppx_blob can't find the text file because things get copied around etc
<reynir> ok, the trick is to add »(preprocessor_deps input.txt)« to the dune file :o
<Drup> reynir: specifying your dependencies ? How preposterous!?
<reynir> Drup: yes, what is this madness of a build system
<reynir> :D
<reynir> I just never had to do it before for a ppx, and my reaction was "oh no, I have to learn something new now"
mfp has joined #ocaml
themsay has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
themsay has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
_whitelogger has joined #ocaml
kvik has quit [Remote host closed the connection]
kvik has joined #ocaml
asymptotically has joined #ocaml
groovy2shoes has quit [Excess Flood]
groovy2shoes has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
Haudegen has quit [Remote host closed the connection]
ggole has joined #ocaml
KeyJoo has joined #ocaml
sagotch has quit [Quit: Leaving.]
gravicappa has joined #ocaml
sagotch has joined #ocaml
lesshaste has quit [Ping timeout: 245 seconds]
iZsh has quit [Quit: ZNC - http://znc.in]
iZsh has joined #ocaml
ollehar has joined #ocaml
jao has joined #ocaml
Haudegen has joined #ocaml
<Leonidas> What is a build system? A miserable little pile of dependencies!
<Leonidas> Last time I used ppx_blob it broke merlin :(
gravicappa has quit [Remote host closed the connection]
<def`> Leonidas: I fixed handling of ppx paths in merlin recently
<def`> (... there is not much specification, we have to adapt to the actual use :P)
<Leonidas> def`: ah, cool, that might've fixed it in the meantime :) Thanks.
spew has joined #ocaml
pierpal has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 246 seconds]
FreeBirdLjj has joined #ocaml
<theblatte> "Error: Multiple definition of the type name t." but merlin is happy (but ocamlc is right)
<ggole> There are various errors that merlin won't show.
<ggole> ...I'm not sure whether they are well documented
<theblatte> ok :)
<ggole> I get the impression that they are errors that are checked for after all the code in the module is typed, eg, non-generalizable type variables
pierpal has joined #ocaml
[rg] has joined #ocaml
<[rg]> hey all, whats the ocaml idiom for reading all lines from a file (i'd like to create a list)
<companion_cube> I'd recommend using a 3rd party stdlib, like base, batteries, or containers
gareppa has joined #ocaml
<companion_cube> (with containers: `CCIO.with_in "path/to/file" CCIO.read_lines_l`)
<[rg]> companion_cube: huh, I was looking at advent of code and thought I'd try ocaml through ideone, but I can download it
<companion_cube> oh, hmm, not sure if you can use libraries in online editors indeed
<[rg]> companion_cube: I guesss those libs also determine the type as well? (so no string)
<[rg]> s/no/not
<companion_cube> no, everyone agrees on string
<companion_cube> the snippet above will return a list of strings
<[rg]> ah dang it now I gotta figure out ocaml polymorphism -_-
<[rg]> lol
<companion_cube> https://paste.isomorphis.me/M4W <--- you can also try that
<companion_cube> (it doens't close the file, but well)
<[rg]> companion_cube: thanks, why not use read_line ?
<companion_cube> because it reads from stdin
<companion_cube> I mean if that's what you want, sure
<[rg]> oh, well ty :)
waleee has joined #ocaml
al-damiri has joined #ocaml
h11 has quit [Ping timeout: 250 seconds]
h11 has joined #ocaml
pistachio has quit [Ping timeout: 250 seconds]
ziyourenxiang has quit [Remote host closed the connection]
ziyourenxiang has joined #ocaml
gareppa has quit [Ping timeout: 250 seconds]
wagle has quit [Ping timeout: 250 seconds]
wagle has joined #ocaml
pistachio has joined #ocaml
gareppa has joined #ocaml
marvin2 has quit [Ping timeout: 250 seconds]
gareppa has quit [Remote host closed the connection]
ggole has quit [Quit: ggole]
tane has joined #ocaml
SU2xU1 has joined #ocaml
[rg] has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]
ziyourenxiang has quit [Ping timeout: 250 seconds]
kvik has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
ygrek__ has joined #ocaml
marvin2 has joined #ocaml
ollehar has quit [Ping timeout: 268 seconds]
waleee has quit [Quit: WeeChat 2.3]
waleee has joined #ocaml
slamzy1234 has joined #ocaml
fraxamo has joined #ocaml
ygrek__ has quit [Ping timeout: 245 seconds]
sagotch has quit [Quit: Leaving.]
slamzy12345 has joined #ocaml
slamzy1234 has quit [Ping timeout: 256 seconds]
slamzy12345 has quit [Ping timeout: 256 seconds]
Haudegen has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
slamzy12345 has joined #ocaml
loli has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
frankbro has left #ocaml [#ocaml]
bartholin has joined #ocaml
asymptotically has quit [Quit: Leaving]
jnavila has joined #ocaml
jnavila_ has joined #ocaml
jnavila has quit [Remote host closed the connection]
jnavila has joined #ocaml
jnavila_ has quit [Ping timeout: 246 seconds]
kakadu_ has joined #ocaml
waleee has quit [Quit: WeeChat 2.3]
ygrek__ has joined #ocaml
pzp has joined #ocaml
sagotch has joined #ocaml
Algebr`` has joined #ocaml
fraxamo has quit [Quit: Leaving]
Haudegen has quit [Remote host closed the connection]
sagotch has quit [Quit: Leaving.]
groovy2shoes has quit [Quit: moritura te salutat]
Haudegen has joined #ocaml
jao has joined #ocaml
jnavila has quit [Remote host closed the connection]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
slamzy12345 has quit [Remote host closed the connection]
KeyJoo has quit [Ping timeout: 272 seconds]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
SU2xU1 has quit [Ping timeout: 268 seconds]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
SgrB has joined #ocaml
Jesin has quit [Quit: Leaving]
groovy2shoes has joined #ocaml
Algebr`` has quit [Ping timeout: 272 seconds]
Algebr`` has joined #ocaml
bartholin has quit [Remote host closed the connection]
slamzy has joined #ocaml
Jesin has joined #ocaml
Algebr`` has quit [Ping timeout: 250 seconds]
Algebr`` has joined #ocaml
SgrC has joined #ocaml
SgrB has quit [Ping timeout: 250 seconds]
tane has quit [Quit: Leaving]
SgrB has joined #ocaml
SgrC has quit [Ping timeout: 268 seconds]
SgrB has quit [Ping timeout: 268 seconds]
slamzy has quit [Remote host closed the connection]
groovy2shoes has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]
Algebr`` has quit [Ping timeout: 245 seconds]
Algebr`` has joined #ocaml
jao has quit [Remote host closed the connection]
Algebr`` has quit [Ping timeout: 240 seconds]
kakadu_ has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Remote host closed the connection]
kvda has joined #ocaml
ziyourenxiang has joined #ocaml