adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
unbalanced has quit [Read error: Connection reset by peer]
marsam has joined #ocaml
<_berke_> ^ this one https://sourceforge.net/projects/sexpr/files/latest/download kind of works, it supports ; comments, but not escaped characters or multi-line comments.
tormen has joined #ocaml
ryanartecona has joined #ocaml
tormen has quit [Client Quit]
tormen has joined #ocaml
maattdd has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit []
malina has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
<Bluddy[m]> Drup: I didn't though
al-damiri has quit [Quit: Connection closed for inactivity]
<Bluddy[m]> smondet: I just took the eliom-distillery output and modified it as instructed by the tutorial
sillyotter has joined #ocaml
QuickBasic has joined #ocaml
sillyotter has quit [Quit: WeeChat 1.4]
QuickBasic has quit [Quit: Leaving]
whisperedcigar has joined #ocaml
marsam has quit [Read error: Connection reset by peer]
whisperedcigar has quit [Ping timeout: 245 seconds]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
vicfred has quit [Ping timeout: 245 seconds]
fraggle_ has quit [Ping timeout: 250 seconds]
fraggle_ has joined #ocaml
mfp has quit [Ping timeout: 250 seconds]
zirman has quit [Remote host closed the connection]
malina is now known as awk
awk is now known as Guest18372
Guest18372 is now known as icantchangemynic
Algebr has quit [Ping timeout: 258 seconds]
silver has quit [Quit: rakede]
wu_ng has joined #ocaml
zirman has joined #ocaml
icantchangemynic is now known as Malina
Malina is now known as malina
chris2 has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
maattdd has joined #ocaml
FreeBirdLjj has joined #ocaml
jlongster has joined #ocaml
_berke_ has quit [Remote host closed the connection]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 260 seconds]
maattdd has quit [Ping timeout: 248 seconds]
d0nn1e has quit [Ping timeout: 258 seconds]
d0nn1e has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scitesy has joined #ocaml
ygrek_ has quit [Ping timeout: 258 seconds]
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 256 seconds]
zirman has quit [Remote host closed the connection]
ygrek_ has joined #ocaml
APNG has quit [Ping timeout: 265 seconds]
ra4king has quit [Ping timeout: 250 seconds]
ra4king has joined #ocaml
unbalanced has joined #ocaml
troydm has joined #ocaml
unbalanced has quit [Ping timeout: 258 seconds]
whisperedcigar has joined #ocaml
lukky513 has quit [Ping timeout: 252 seconds]
whisperedcigar has quit [Ping timeout: 245 seconds]
pierpa has quit [Ping timeout: 258 seconds]
lyxia has quit [Ping timeout: 256 seconds]
fraggle_ has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Ping timeout: 250 seconds]
lukky513 has joined #ocaml
fraggle_ has joined #ocaml
maattdd has joined #ocaml
unbalanced has joined #ocaml
jlongster has joined #ocaml
lyxia has joined #ocaml
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
zirman has quit [Ping timeout: 268 seconds]
unbalanced has quit [Ping timeout: 240 seconds]
nicoo has quit [Remote host closed the connection]
douglascorrea has quit [Remote host closed the connection]
maattdd has quit [Ping timeout: 250 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
douglascorrea has joined #ocaml
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ocaml
nicoo has joined #ocaml
cataska has joined #ocaml
whisperedcigar has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
APNG has joined #ocaml
APNG has quit [Changing host]
APNG has joined #ocaml
zirman has joined #ocaml
zirman has quit [Ping timeout: 240 seconds]
johnf__ has joined #ocaml
johnf_ has quit [Ping timeout: 268 seconds]
johnf__ has quit [Read error: Connection reset by peer]
whisperedcigar has quit [Ping timeout: 245 seconds]
johnf_ has joined #ocaml
nomicflux has quit [Quit: nomicflux]
whisperedcigar has joined #ocaml
cantstanya has quit [Ping timeout: 260 seconds]
vramana1 has joined #ocaml
vramana has quit [Ping timeout: 268 seconds]
vramana1 is now known as vramana
Mercuria1Alchemi has joined #ocaml
copy` has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
axiles_ has quit [Remote host closed the connection]
fre has joined #ocaml
cantstanya has joined #ocaml
maattdd has joined #ocaml
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ocaml
douglascorrea has quit [Ping timeout: 240 seconds]
whisperedcigar has joined #ocaml
fre has quit [Ping timeout: 264 seconds]
cataska has quit [Quit: Textual IRC Client: www.textualapp.com]
argent_smith has joined #ocaml
jnavila has joined #ocaml
maattdd has quit [Ping timeout: 248 seconds]
zpe has joined #ocaml
freusque has quit [Quit: WeeChat 1.5]
alfredo has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
freusque has joined #ocaml
zirman has joined #ocaml
zirman has quit [Ping timeout: 250 seconds]
cow-orker has quit [Remote host closed the connection]
whisperedcigar has quit [Ping timeout: 245 seconds]
AltGr has joined #ocaml
malina has quit [Quit: Throwing apples of Montserrat]
malina has joined #ocaml
Simn has joined #ocaml
malina has quit [Quit: Throwing apples of Montserrat]
alfredo has quit [Quit: Textual IRC Client: www.textualapp.com]
FreeBirdLjj has joined #ocaml
zpe has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
maattdd has joined #ocaml
larhat has joined #ocaml
ygrek_ has quit [Ping timeout: 252 seconds]
madroach has quit [Ping timeout: 264 seconds]
mfp has joined #ocaml
kakadu has joined #ocaml
jwatzman|work has joined #ocaml
ocaml206 has joined #ocaml
<ocaml206> Trying add keys and values iteratively into HashTbl. One by one.
nopf has quit [Ping timeout: 264 seconds]
zirman has joined #ocaml
maattdd has quit [Quit: WeeChat 1.5]
zirman has quit [Ping timeout: 245 seconds]
maattdd has joined #ocaml
Lela has joined #ocaml
<Lela> Hello. Does anyone know why I get this error when trying to use open_graph in mac?
<Lela> Exception: Graphics.Graphic_failure "Cannot open display ".
<Lela> I have installed quartz and reinstalled ocaml with X11 over Homebrew
vicfred has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
nopf has joined #ocaml
Lela has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jwatzman|work has joined #ocaml
freusque has quit [Ping timeout: 240 seconds]
mami has joined #ocaml
wu_ng has quit [Ping timeout: 240 seconds]
vramana1 has joined #ocaml
vramana has quit [Ping timeout: 268 seconds]
vramana1 is now known as vramana
<maattdd> Do you use Tmux ?
<flux> does it come with xterm and does that work/
vicfred has quit [Quit: Leaving]
<ocaml206> Does this syntax seem right ?
<ocaml206> let rec loop l hash = match l with | a :: (b :: _ as t) -> Hashtbl.add hash a b | _::[] -> () | [] -> () in loop words Hashtbl.create
<ocaml206> I see a type error at Hashtbl.create
<flux> yes, it's a function that takes an argument
<flux> you don't provide any :)
_andre has joined #ocaml
<flux> (Hashtbl.create 42)
<ocaml206> Yes. Right.
<flux> that one time when ocaml pointed exactly to the right place ;)
<ocaml206> _::[] -> () I put that because add doesn't return.
<ocaml206> Can't I return the accumulated Hashtbl ?
<flux> you can
<flux> well, you are not looping really
<flux> if you do actually loop, then you can :)
<ocaml206> Ok. Will add loop.
<ocaml206> | a :: (b :: _ as t) -> loop t (Hashtbl.add hash a b) That seems to be 'unit' too.
<ocaml206> I do this with lists. But add returns unit ?
<flux> HAshtbl.add hash a b; loop t hash
<ocaml206> Oh!
FreeBirdLjj has joined #ocaml
dhil has joined #ocaml
<flux> mutation functions for imperative data structures usually return unit
<flux> as in not to mislead the developer to think they received some new version leaving the original one intact
FreeBirdLjj has quit [Ping timeout: 248 seconds]
silver has joined #ocaml
<ocaml206> Ok
Balod has joined #ocaml
freusque has joined #ocaml
maattdd has quit [Ping timeout: 250 seconds]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
FreeBirdLjj has joined #ocaml
zirman has quit [Ping timeout: 248 seconds]
FreeBirdLjj has quit [Ping timeout: 256 seconds]
whisperedcigar has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
maattdd has joined #ocaml
dhil has quit [Ping timeout: 268 seconds]
not_kill has joined #ocaml
ocaml206 has quit [Ping timeout: 260 seconds]
BitPuffin|osx has joined #ocaml
sepp2k has joined #ocaml
jwatzman|work has quit [Ping timeout: 245 seconds]
smondet has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
srenatus[m] has quit [Quit: Client limit exceeded: 5000]
larhat has quit [Quit: Leaving.]
pierpa has joined #ocaml
scitesy has quit [Ping timeout: 252 seconds]
jwatzman|work has joined #ocaml
Algebr has joined #ocaml
FreeBirdLjj has joined #ocaml
unbalanced has joined #ocaml
rwmjones has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Ping timeout: 250 seconds]
larhat has joined #ocaml
rwmjones has joined #ocaml
not_kill has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Algebr> I guess the stdlib doesn't expose the number of cores on the machine, don't see anything in sys or unix
<companion_cube> it's not as if it was useful :/
<Algebr> it is to me, I want to know how many subprocesses to make
argent_smith has quit [Quit: Leaving.]
<Algebr> oh bahaha, C++ to the rescue
shinnya has joined #ocaml
smondet has joined #ocaml
<flux> maybe ocaml-multicore will bring that!
<flux> All praise our savior, ocaml-multicore!
<Algebr> ocaml-multicore is like a messiah
<Algebr> you just gotta keep waiting....
<companion_cube> dead in the desert?
<Algebr> soon to rise
nomicflux has joined #ocaml
silver has quit [Read error: Connection reset by peer]
jlongster has joined #ocaml
freusque has quit [Ping timeout: 245 seconds]
sh0t has joined #ocaml
zpe has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
freusque has joined #ocaml
zpe has joined #ocaml
marsam has joined #ocaml
silver has joined #ocaml
<rixed> Algebr: I guess it's just a small patch away from Unix.sysconf. Returning 0 when the non-standard sysconf is not defined may be good enough?
shinnya has quit [Ping timeout: 258 seconds]
<Algebr> yes but want it to work on windows, os x
zpe has quit [Ping timeout: 265 seconds]
yomimono has joined #ocaml
<rixed> https://github.com/rdicosmo/parmap/blob/10e2437bd5d131b474dad95d48c53ad1546d3f4c/setcore_stubs.c#L16 -> parmap uses sysconf so should not work on windows either
Mercuria1Alchemi has quit [Ping timeout: 250 seconds]
chtronc has joined #ocaml
chtronc has quit [Client Quit]
zpe has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
fedruantine_ has quit [Ping timeout: 246 seconds]
ryanartecona has joined #ocaml
agarwal1975 has joined #ocaml
dhil has joined #ocaml
whisperedcigar has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
d0nn1e has quit [Ping timeout: 258 seconds]
d0nn1e has joined #ocaml
sepp2k has quit [Quit: Leaving.]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
zpe has quit [Read error: Connection reset by peer]
zpe_ has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
freusque has quit [Quit: WeeChat 1.5]
nomicflux has quit [Quit: nomicflux]
agarwal1975 has quit [Quit: agarwal1975]
al-damiri has joined #ocaml
seangrove has joined #ocaml
fre has joined #ocaml
agarwal1975 has joined #ocaml
nomicflux has joined #ocaml
maattdd has quit [Ping timeout: 268 seconds]
whisperedcigar has joined #ocaml
unbalanced has quit [Quit: WeeChat 1.6]
unbalanced has joined #ocaml
nomicflux has quit [Quit: nomicflux]
fre has quit [Ping timeout: 265 seconds]
ryanartecona has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
larhat has quit [Quit: Leaving.]
jnavila has quit [Quit: It was time]
slash^ has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
noddy has quit [Ping timeout: 265 seconds]
madroach has joined #ocaml
whisperedcigar has joined #ocaml
FreeBirdLjj has joined #ocaml
jwatzman|work has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Ping timeout: 265 seconds]
FreeBirdLjj has joined #ocaml
noddy2OOO has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
nomicflux has joined #ocaml
nomicflux has quit [Ping timeout: 250 seconds]
placidex has joined #ocaml
placidex has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jnavila has joined #ocaml
jao has joined #ocaml
g4143 has joined #ocaml
g4143 has quit [Client Quit]
agarwal1975 has quit [Quit: agarwal1975]
noddy2OOO has quit [Ping timeout: 265 seconds]
agarwal1975 has joined #ocaml
nomicflux has joined #ocaml
S11001001 has joined #ocaml
dhil has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
ygrek_ has joined #ocaml
Flerex has joined #ocaml
marsam has quit [Read error: Connection reset by peer]
zirman has quit [Remote host closed the connection]
zpe_ has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
zirman has joined #ocaml
jnavila has quit [Ping timeout: 260 seconds]
fre has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
nomicflux has quit [Quit: nomicflux]
orbitz has quit [Quit: leaving]
orbitz has joined #ocaml
zirman has quit [Remote host closed the connection]
kakadu has joined #ocaml
zpe has joined #ocaml
jnavila has joined #ocaml
nomicflux has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
zirman has joined #ocaml
zirman has quit [Remote host closed the connection]
Flerex has quit [Quit: Textual IRC Client: www.textualapp.com]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
marsam has joined #ocaml
govg has joined #ocaml
vramana1 has joined #ocaml
vramana has quit [Ping timeout: 268 seconds]
vramana1 is now known as vramana
Mercuria1Alchemi has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 246 seconds]
profan has quit [Quit: leaving]
profan has joined #ocaml
profan has quit [Client Quit]
profan has joined #ocaml
profan has quit [Client Quit]
profan has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
profan is now known as profernicus
profernicus is now known as profan
AltGr has left #ocaml [#ocaml]
argent_smith has joined #ocaml
dhil has quit [Ping timeout: 258 seconds]
nomicflux has quit [Quit: nomicflux]
infinity0 has quit [Ping timeout: 256 seconds]
infinity0 has joined #ocaml
<jnavila> What is the level of autocompletion help to be expected when using merlin with js_of_ocaml?
<Drup> merlin works perfectly fine with js_of_ocaml
<jnavila> Drup: do you get completion on javascript?
<jnavila> past the ## ?
<Drup> yes
<Drup> hum, actually, completion, not sure
<Drup> you do get checking fine, that's sure
<jnavila> I do not have completion with the javascript parts... Just making sure my installation is standard
<jnavila> the double-sharp is a js_of_ocaml extension, merlin accepts it but nothing more
<Drup> huum, def, wasn't it supposed to work even better now ?
<jnavila> you mean def` ?
<Drup> yes :p
<jnavila> In fact, it isn't working great... I get errors in emacs even though the project compiles fine
nomicflux has joined #ocaml
<jnavila> This expression has type
<jnavila> Dom.element Dom.document Js.t Js.opt Js.readonly_prop =
<jnavila> < get : Dom.element Dom.document Js.t Js.opt > Js.gen_prop
<jnavila> but an expression was expected of type 'a Js.meth
<Drup> aren't you mixing camlp4 and ppx ?
ryanartecona has joined #ocaml
<jnavila> I just found a related issue on Github...
<jnavila> It seems so, but the project is just a clone of whitequark/js_of_ocaml-example
<jnavila> It's using camlp4, guess it's too old...
Mercuria1Alchemi has quit [Ping timeout: 245 seconds]
MercurialAlchemi has joined #ocaml
noddy2OOO has joined #ocaml
yomimono has quit [Ping timeout: 250 seconds]
argent_smith has quit [Quit: Leaving.]
lyxia has quit [Quit: WeeChat 1.6]
jnavila has quit [Ping timeout: 256 seconds]
zirmann has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 248 seconds]
yomimono has joined #ocaml
zirman has quit [Ping timeout: 256 seconds]
zirmann has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
unbalanced has quit [Ping timeout: 258 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
silver_ has joined #ocaml
lyxia has joined #ocaml
silver has quit [Ping timeout: 264 seconds]
zpe has quit [Ping timeout: 268 seconds]
marsam has quit [Read error: Connection reset by peer]
silver_ has quit [Read error: Connection reset by peer]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
silver_ has joined #ocaml
jlongster has joined #ocaml
jlongster has quit [Client Quit]
<Algebr> Is there an Lwt way to communicated from parent process to child process?
<Algebr> Say I have a parent process, I fork, make 4 child processes, each child process gets a Queue.t, so from the parent process I distribute work to each Queue and then each child should do work on its queue
<Algebr> I could make each child just keep polling its Queue to see if there's work to be done, but I'd like an nodejs style event messaging
<Algebr> rather not use zmq eating up ports/sockets
<Algebr> guess I could use pipes
<smondet> Algebr: yes Lwt_unix.pipe
govg has quit [Ping timeout: 248 seconds]
zirman has joined #ocaml
zirman has quit [Changing host]
zirman has joined #ocaml
zv has quit [Ping timeout: 256 seconds]
fre has quit [Quit: WeeChat 1.4]
zirman has quit [Remote host closed the connection]
agarwal1975 has quit [Quit: agarwal1975]
yomimono has quit [Ping timeout: 250 seconds]
danieli has joined #ocaml
sh0t has quit [Remote host closed the connection]
BitPuffin|osx has quit [Ping timeout: 265 seconds]
jlongster has joined #ocaml
noddy2OOO has quit [Ping timeout: 245 seconds]
jlongster has quit [Client Quit]
yomimono has joined #ocaml
jlongster has joined #ocaml
pyon has quit [Quit: Unyu~? Why is Emacs behaving strangely?]
pyon has joined #ocaml
smondet has quit [Ping timeout: 250 seconds]