00:02
unbalanced has quit [Read error: Connection reset by peer]
00:09
marsam has joined #ocaml
00:10
tormen has joined #ocaml
00:10
ryanartecona has joined #ocaml
00:11
tormen has quit [Client Quit]
00:12
tormen has joined #ocaml
00:12
maattdd has quit [Ping timeout: 245 seconds]
00:17
FreeBirdLjj has quit []
00:17
malina has joined #ocaml
00:23
ryanartecona has quit [Quit: ryanartecona]
00:27
<
Bluddy[m] >
Drup: I didn't though
00:27
al-damiri has quit [Quit: Connection closed for inactivity]
00:28
<
Bluddy[m] >
smondet: I just took the eliom-distillery output and modified it as instructed by the tutorial
00:33
sillyotter has joined #ocaml
00:34
QuickBasic has joined #ocaml
00:39
sillyotter has quit [Quit: WeeChat 1.4]
00:48
QuickBasic has quit [Quit: Leaving]
00:52
whisperedcigar has joined #ocaml
00:55
marsam has quit [Read error: Connection reset by peer]
00:56
whisperedcigar has quit [Ping timeout: 245 seconds]
01:03
infinity0 has quit [Remote host closed the connection]
01:05
infinity0 has joined #ocaml
01:07
vicfred has quit [Ping timeout: 245 seconds]
01:19
fraggle_ has quit [Ping timeout: 250 seconds]
01:22
fraggle_ has joined #ocaml
01:48
mfp has quit [Ping timeout: 250 seconds]
01:50
zirman has quit [Remote host closed the connection]
01:53
malina is now known as awk
01:53
awk is now known as Guest18372
01:53
Guest18372 is now known as icantchangemynic
01:53
Algebr has quit [Ping timeout: 258 seconds]
01:55
silver has quit [Quit: rakede]
02:00
wu_ng has joined #ocaml
02:01
zirman has joined #ocaml
02:04
icantchangemynic is now known as Malina
02:04
Malina is now known as malina
02:07
chris2 has joined #ocaml
02:07
copy` has quit [Quit: Connection closed for inactivity]
02:11
maattdd has joined #ocaml
02:13
FreeBirdLjj has joined #ocaml
02:32
jlongster has joined #ocaml
02:33
_berke_ has quit [Remote host closed the connection]
02:36
Algebr has joined #ocaml
02:40
Algebr has quit [Ping timeout: 260 seconds]
02:43
maattdd has quit [Ping timeout: 248 seconds]
02:48
d0nn1e has quit [Ping timeout: 258 seconds]
02:48
d0nn1e has joined #ocaml
02:58
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:08
scitesy has joined #ocaml
03:37
ygrek_ has quit [Ping timeout: 258 seconds]
03:40
maattdd has joined #ocaml
03:44
maattdd has quit [Ping timeout: 256 seconds]
03:55
zirman has quit [Remote host closed the connection]
03:56
ygrek_ has joined #ocaml
03:57
APNG has quit [Ping timeout: 265 seconds]
04:08
ra4king has quit [Ping timeout: 250 seconds]
04:09
ra4king has joined #ocaml
04:17
unbalanced has joined #ocaml
04:19
troydm has joined #ocaml
04:22
unbalanced has quit [Ping timeout: 258 seconds]
04:29
whisperedcigar has joined #ocaml
04:33
lukky513 has quit [Ping timeout: 252 seconds]
04:33
whisperedcigar has quit [Ping timeout: 245 seconds]
04:34
pierpa has quit [Ping timeout: 258 seconds]
04:35
lyxia has quit [Ping timeout: 256 seconds]
04:37
fraggle_ has quit [Ping timeout: 260 seconds]
04:39
rgrinberg has quit [Ping timeout: 250 seconds]
04:40
lukky513 has joined #ocaml
04:40
fraggle_ has joined #ocaml
04:40
maattdd has joined #ocaml
04:42
unbalanced has joined #ocaml
04:43
jlongster has joined #ocaml
04:44
lyxia has joined #ocaml
04:54
zirman has joined #ocaml
04:54
zirman has joined #ocaml
04:54
zirman has quit [Changing host]
04:59
zirman has quit [Ping timeout: 268 seconds]
05:00
unbalanced has quit [Ping timeout: 240 seconds]
05:03
nicoo has quit [Remote host closed the connection]
05:14
douglascorrea has quit [Remote host closed the connection]
05:15
maattdd has quit [Ping timeout: 250 seconds]
05:15
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:15
douglascorrea has joined #ocaml
05:15
douglascorrea has quit [Remote host closed the connection]
05:16
douglascorrea has joined #ocaml
05:23
nicoo has joined #ocaml
05:52
cataska has joined #ocaml
05:54
whisperedcigar has joined #ocaml
05:55
FreeBirdLjj has quit [Remote host closed the connection]
05:55
APNG has joined #ocaml
05:55
APNG has quit [Changing host]
05:55
APNG has joined #ocaml
05:56
zirman has joined #ocaml
06:00
zirman has quit [Ping timeout: 240 seconds]
06:01
johnf__ has joined #ocaml
06:05
johnf_ has quit [Ping timeout: 268 seconds]
06:09
johnf__ has quit [Read error: Connection reset by peer]
06:09
whisperedcigar has quit [Ping timeout: 245 seconds]
06:13
johnf_ has joined #ocaml
06:15
nomicflux has quit [Quit: nomicflux]
06:16
whisperedcigar has joined #ocaml
06:40
cantstanya has quit [Ping timeout: 260 seconds]
06:40
vramana1 has joined #ocaml
06:42
vramana has quit [Ping timeout: 268 seconds]
06:42
vramana1 is now known as vramana
06:42
Mercuria1Alchemi has joined #ocaml
06:48
copy` has joined #ocaml
06:50
whisperedcigar has quit [Ping timeout: 245 seconds]
06:51
axiles_ has quit [Remote host closed the connection]
06:52
fre has joined #ocaml
06:55
cantstanya has joined #ocaml
07:02
maattdd has joined #ocaml
07:02
douglascorrea has quit [Remote host closed the connection]
07:03
douglascorrea has joined #ocaml
07:07
douglascorrea has quit [Ping timeout: 240 seconds]
07:09
whisperedcigar has joined #ocaml
07:10
fre has quit [Ping timeout: 264 seconds]
07:19
argent_smith has joined #ocaml
07:35
jnavila has joined #ocaml
07:36
maattdd has quit [Ping timeout: 248 seconds]
07:39
zpe has joined #ocaml
07:44
freusque has quit [Quit: WeeChat 1.5]
07:44
alfredo has joined #ocaml
07:45
zpe has quit [Ping timeout: 250 seconds]
07:45
freusque has joined #ocaml
07:57
zirman has joined #ocaml
08:02
zirman has quit [Ping timeout: 250 seconds]
08:05
cow-orker has quit [Remote host closed the connection]
08:13
whisperedcigar has quit [Ping timeout: 245 seconds]
08:15
AltGr has joined #ocaml
08:24
malina has quit [Quit: Throwing apples of Montserrat]
08:31
malina has joined #ocaml
08:35
Simn has joined #ocaml
08:38
malina has quit [Quit: Throwing apples of Montserrat]
09:00
FreeBirdLjj has joined #ocaml
09:02
zpe has joined #ocaml
09:05
FreeBirdLjj has quit [Ping timeout: 246 seconds]
09:06
maattdd has joined #ocaml
09:20
larhat has joined #ocaml
09:21
ygrek_ has quit [Ping timeout: 252 seconds]
09:30
madroach has quit [Ping timeout: 264 seconds]
09:34
mfp has joined #ocaml
09:40
kakadu has joined #ocaml
09:51
jwatzman|work has joined #ocaml
09:55
ocaml206 has joined #ocaml
09:56
<
ocaml206 >
Trying add keys and values iteratively into HashTbl. One by one.
09:57
nopf has quit [Ping timeout: 264 seconds]
09:59
zirman has joined #ocaml
10:02
maattdd has quit [Quit: WeeChat 1.5]
10:03
zirman has quit [Ping timeout: 245 seconds]
10:04
maattdd has joined #ocaml
10:07
Lela has joined #ocaml
10:07
<
Lela >
Hello. Does anyone know why I get this error when trying to use open_graph in mac?
10:07
<
Lela >
Exception: Graphics.Graphic_failure "Cannot open display ".
10:08
<
Lela >
I have installed quartz and reinstalled ocaml with X11 over Homebrew
10:10
vicfred has joined #ocaml
10:10
jwatzman|work has quit [Quit: jwatzman|work]
10:11
nopf has joined #ocaml
10:14
jwatzman|work has joined #ocaml
10:18
freusque has quit [Ping timeout: 240 seconds]
10:18
mami has joined #ocaml
10:26
wu_ng has quit [Ping timeout: 240 seconds]
10:28
vramana1 has joined #ocaml
10:30
vramana has quit [Ping timeout: 268 seconds]
10:30
vramana1 is now known as vramana
10:31
<
maattdd >
Do you use Tmux ?
10:32
<
flux >
does it come with xterm and does that work/
10:38
vicfred has quit [Quit: Leaving]
10:43
<
ocaml206 >
Does this syntax seem right ?
10:43
<
ocaml206 >
let rec loop l hash = match l with | a :: (b :: _ as t) -> Hashtbl.add hash a b | _::[] -> () | [] -> () in loop words Hashtbl.create
10:44
<
ocaml206 >
I see a type error at Hashtbl.create
10:45
<
flux >
yes, it's a function that takes an argument
10:45
<
flux >
you don't provide any :)
10:45
_andre has joined #ocaml
10:45
<
flux >
(Hashtbl.create 42)
10:46
<
ocaml206 >
Yes. Right.
10:46
<
flux >
that one time when ocaml pointed exactly to the right place ;)
10:47
<
ocaml206 >
_::[] -> () I put that because add doesn't return.
10:47
<
ocaml206 >
Can't I return the accumulated Hashtbl ?
10:50
<
flux >
well, you are not looping really
10:50
<
flux >
if you do actually loop, then you can :)
10:51
<
ocaml206 >
Ok. Will add loop.
10:53
<
ocaml206 >
| a :: (b :: _ as t) -> loop t (Hashtbl.add hash a b) That seems to be 'unit' too.
10:53
<
ocaml206 >
I do this with lists. But add returns unit ?
10:53
<
flux >
HAshtbl.add hash a b; loop t hash
11:03
FreeBirdLjj has joined #ocaml
11:04
dhil has joined #ocaml
11:06
<
flux >
mutation functions for imperative data structures usually return unit
11:06
<
flux >
as in not to mislead the developer to think they received some new version leaving the original one intact
11:08
FreeBirdLjj has quit [Ping timeout: 248 seconds]
11:11
silver has joined #ocaml
11:31
Balod has joined #ocaml
11:38
freusque has joined #ocaml
11:40
maattdd has quit [Ping timeout: 250 seconds]
12:01
zirman has joined #ocaml
12:01
zirman has joined #ocaml
12:01
zirman has quit [Changing host]
12:04
FreeBirdLjj has joined #ocaml
12:05
zirman has quit [Ping timeout: 248 seconds]
12:09
FreeBirdLjj has quit [Ping timeout: 256 seconds]
12:12
whisperedcigar has joined #ocaml
12:16
whisperedcigar has quit [Ping timeout: 245 seconds]
12:38
maattdd has joined #ocaml
12:45
dhil has quit [Ping timeout: 268 seconds]
12:47
not_kill has joined #ocaml
13:06
ocaml206 has quit [Ping timeout: 260 seconds]
13:14
BitPuffin|osx has joined #ocaml
13:14
sepp2k has joined #ocaml
13:25
jwatzman|work has quit [Ping timeout: 245 seconds]
13:27
smondet has quit [Ping timeout: 240 seconds]
13:28
dhil has joined #ocaml
13:32
zirman has joined #ocaml
13:32
zirman has joined #ocaml
13:33
zirman has quit [Remote host closed the connection]
13:33
zirman has joined #ocaml
13:33
zirman has joined #ocaml
13:33
zirman has quit [Changing host]
13:38
srenatus[m] has quit [Quit: Client limit exceeded: 5000]
13:39
larhat has quit [Quit: Leaving.]
13:43
pierpa has joined #ocaml
13:44
scitesy has quit [Ping timeout: 252 seconds]
13:58
jwatzman|work has joined #ocaml
14:02
Algebr has joined #ocaml
14:07
FreeBirdLjj has joined #ocaml
14:07
unbalanced has joined #ocaml
14:10
rwmjones has quit [Ping timeout: 256 seconds]
14:12
FreeBirdLjj has quit [Ping timeout: 250 seconds]
14:17
larhat has joined #ocaml
14:18
rwmjones has joined #ocaml
14:22
<
Algebr >
I guess the stdlib doesn't expose the number of cores on the machine, don't see anything in sys or unix
14:23
<
companion_cube >
it's not as if it was useful :/
14:24
<
Algebr >
it is to me, I want to know how many subprocesses to make
14:28
argent_smith has quit [Quit: Leaving.]
14:30
<
Algebr >
oh bahaha, C++ to the rescue
14:36
shinnya has joined #ocaml
14:39
smondet has joined #ocaml
14:40
<
flux >
maybe ocaml-multicore will bring that!
14:40
<
flux >
All praise our savior, ocaml-multicore!
14:41
<
Algebr >
ocaml-multicore is like a messiah
14:41
<
Algebr >
you just gotta keep waiting....
14:41
<
companion_cube >
dead in the desert?
14:44
<
Algebr >
soon to rise
14:48
nomicflux has joined #ocaml
14:49
silver has quit [Read error: Connection reset by peer]
14:49
jlongster has joined #ocaml
14:50
freusque has quit [Ping timeout: 245 seconds]
14:54
sh0t has joined #ocaml
14:55
zpe has quit [Remote host closed the connection]
14:55
rgrinberg has joined #ocaml
14:56
freusque has joined #ocaml
14:56
zpe has joined #ocaml
14:57
marsam has joined #ocaml
14:57
silver has joined #ocaml
14:59
<
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?
14:59
shinnya has quit [Ping timeout: 258 seconds]
14:59
<
Algebr >
yes but want it to work on windows, os x
15:00
zpe has quit [Ping timeout: 265 seconds]
15:04
yomimono has joined #ocaml
15:11
Mercuria1Alchemi has quit [Ping timeout: 250 seconds]
15:12
chtronc has joined #ocaml
15:13
chtronc has quit [Client Quit]
15:27
zpe has joined #ocaml
15:28
dhil has quit [Ping timeout: 245 seconds]
15:30
fedruantine_ has quit [Ping timeout: 246 seconds]
15:36
ryanartecona has joined #ocaml
15:38
agarwal1975 has joined #ocaml
15:42
dhil has joined #ocaml
15:43
whisperedcigar has joined #ocaml
15:46
nicoo has quit [Remote host closed the connection]
15:47
nicoo has joined #ocaml
15:47
d0nn1e has quit [Ping timeout: 258 seconds]
15:49
d0nn1e has joined #ocaml
16:01
sepp2k has quit [Quit: Leaving.]
16:13
zpe has quit [Remote host closed the connection]
16:13
zpe has joined #ocaml
16:14
ryanartecona has quit [Quit: ryanartecona]
16:15
zpe has quit [Read error: Connection reset by peer]
16:15
zpe_ has joined #ocaml
16:20
whisperedcigar has quit [Ping timeout: 245 seconds]
16:21
freusque has quit [Quit: WeeChat 1.5]
16:29
nomicflux has quit [Quit: nomicflux]
16:33
agarwal1975 has quit [Quit: agarwal1975]
16:33
al-damiri has joined #ocaml
16:36
seangrove has joined #ocaml
16:38
fre has joined #ocaml
16:40
agarwal1975 has joined #ocaml
16:44
nomicflux has joined #ocaml
16:45
maattdd has quit [Ping timeout: 268 seconds]
16:46
whisperedcigar has joined #ocaml
16:47
unbalanced has quit [Quit: WeeChat 1.6]
16:48
unbalanced has joined #ocaml
16:50
nomicflux has quit [Quit: nomicflux]
16:53
fre has quit [Ping timeout: 265 seconds]
16:55
ryanartecona has joined #ocaml
16:56
whisperedcigar has quit [Ping timeout: 245 seconds]
16:59
larhat has quit [Quit: Leaving.]
17:00
jnavila has quit [Quit: It was time]
17:01
slash^ has joined #ocaml
17:03
infinity0 has quit [Remote host closed the connection]
17:05
infinity0 has joined #ocaml
17:07
noddy has quit [Ping timeout: 265 seconds]
17:07
madroach has joined #ocaml
17:07
whisperedcigar has joined #ocaml
17:10
FreeBirdLjj has joined #ocaml
17:15
jwatzman|work has quit [Ping timeout: 240 seconds]
17:16
FreeBirdLjj has quit [Ping timeout: 265 seconds]
17:18
FreeBirdLjj has joined #ocaml
17:28
noddy2OOO has joined #ocaml
17:32
dhil has quit [Ping timeout: 256 seconds]
17:35
nomicflux has joined #ocaml
17:39
nomicflux has quit [Ping timeout: 250 seconds]
17:56
placidex has joined #ocaml
18:04
jnavila has joined #ocaml
18:05
jao has joined #ocaml
18:11
g4143 has joined #ocaml
18:11
g4143 has quit [Client Quit]
18:22
agarwal1975 has quit [Quit: agarwal1975]
18:24
noddy2OOO has quit [Ping timeout: 265 seconds]
18:25
agarwal1975 has joined #ocaml
18:29
nomicflux has joined #ocaml
18:29
S11001001 has joined #ocaml
18:43
dhil has joined #ocaml
18:46
kakadu has quit [Quit: Konversation terminated!]
18:46
ygrek_ has joined #ocaml
18:49
Flerex has joined #ocaml
18:50
marsam has quit [Read error: Connection reset by peer]
18:56
zirman has quit [Remote host closed the connection]
18:59
zpe_ has quit [Remote host closed the connection]
19:05
_andre has quit [Quit: leaving]
19:09
zirman has joined #ocaml
19:09
jnavila has quit [Ping timeout: 260 seconds]
19:20
fre has joined #ocaml
19:20
whisperedcigar has quit [Ping timeout: 245 seconds]
19:27
nomicflux has quit [Quit: nomicflux]
19:29
orbitz has quit [Quit: leaving]
19:29
orbitz has joined #ocaml
19:36
zirman has quit [Remote host closed the connection]
19:48
kakadu has joined #ocaml
19:52
zpe has joined #ocaml
19:54
jnavila has joined #ocaml
19:58
nomicflux has joined #ocaml
19:59
slash^ has quit [Read error: Connection reset by peer]
20:01
zirman has joined #ocaml
20:01
zirman has quit [Remote host closed the connection]
20:02
zirman has joined #ocaml
20:02
zirman has joined #ocaml
20:02
zirman has quit [Changing host]
20:03
marsam has joined #ocaml
20:07
govg has joined #ocaml
20:11
vramana1 has joined #ocaml
20:14
vramana has quit [Ping timeout: 268 seconds]
20:14
vramana1 is now known as vramana
20:23
Mercuria1Alchemi has joined #ocaml
20:24
MercurialAlchemi has quit [Ping timeout: 246 seconds]
20:28
profan has quit [Quit: leaving]
20:28
profan has joined #ocaml
20:28
profan has quit [Client Quit]
20:29
profan has joined #ocaml
20:29
profan has quit [Client Quit]
20:30
profan has joined #ocaml
20:30
ryanartecona has quit [Quit: ryanartecona]
20:31
profan is now known as profernicus
20:33
profernicus is now known as profan
20:35
AltGr has left #ocaml [#ocaml]
20:44
argent_smith has joined #ocaml
20:45
dhil has quit [Ping timeout: 258 seconds]
20:51
nomicflux has quit [Quit: nomicflux]
20:52
infinity0 has quit [Ping timeout: 256 seconds]
20:55
infinity0 has joined #ocaml
20:57
<
jnavila >
What is the level of autocompletion help to be expected when using merlin with js_of_ocaml?
20:58
<
Drup >
merlin works perfectly fine with js_of_ocaml
20:59
<
jnavila >
Drup: do you get completion on javascript?
20:59
<
jnavila >
past the ## ?
21:06
<
Drup >
hum, actually, completion, not sure
21:06
<
Drup >
you do get checking fine, that's sure
21:13
<
jnavila >
I do not have completion with the javascript parts... Just making sure my installation is standard
21:13
<
jnavila >
the double-sharp is a js_of_ocaml extension, merlin accepts it but nothing more
21:16
<
Drup >
huum, def, wasn't it supposed to work even better now ?
21:20
<
jnavila >
you mean def` ?
21:24
<
jnavila >
In fact, it isn't working great... I get errors in emacs even though the project compiles fine
21:25
nomicflux has joined #ocaml
21:26
<
jnavila >
This expression has type
21:26
<
jnavila >
Dom.element Dom.document Js.t Js.opt Js.readonly_prop =
21:26
<
jnavila >
< get : Dom.element Dom.document Js.t Js.opt > Js.gen_prop
21:26
<
jnavila >
but an expression was expected of type 'a Js.meth
21:30
<
Drup >
aren't you mixing camlp4 and ppx ?
21:31
ryanartecona has joined #ocaml
21:31
<
jnavila >
I just found a related issue on Github...
21:32
<
jnavila >
It seems so, but the project is just a clone of whitequark/js_of_ocaml-example
21:32
<
jnavila >
It's using camlp4, guess it's too old...
21:36
Mercuria1Alchemi has quit [Ping timeout: 245 seconds]
21:41
MercurialAlchemi has joined #ocaml
21:49
noddy2OOO has joined #ocaml
21:50
yomimono has quit [Ping timeout: 250 seconds]
21:53
argent_smith has quit [Quit: Leaving.]
21:55
lyxia has quit [Quit: WeeChat 1.6]
22:02
jnavila has quit [Ping timeout: 256 seconds]
22:05
zirmann has joined #ocaml
22:08
MercurialAlchemi has quit [Ping timeout: 248 seconds]
22:08
yomimono has joined #ocaml
22:08
zirman has quit [Ping timeout: 256 seconds]
22:10
zirmann has quit [Ping timeout: 260 seconds]
22:15
FreeBirdLjj has quit [Remote host closed the connection]
22:17
unbalanced has quit [Ping timeout: 258 seconds]
22:21
zpe has quit [Remote host closed the connection]
22:22
zpe has joined #ocaml
22:22
silver_ has joined #ocaml
22:24
lyxia has joined #ocaml
22:25
silver has quit [Ping timeout: 264 seconds]
22:26
zpe has quit [Ping timeout: 268 seconds]
22:30
marsam has quit [Read error: Connection reset by peer]
22:31
silver_ has quit [Read error: Connection reset by peer]
22:31
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:31
silver_ has joined #ocaml
22:32
jlongster has joined #ocaml
22:34
jlongster has quit [Client Quit]
22:38
<
Algebr >
Is there an Lwt way to communicated from parent process to child process?
22:40
<
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
22:41
<
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
22:42
<
Algebr >
rather not use zmq eating up ports/sockets
22:44
<
Algebr >
guess I could use pipes
22:44
<
smondet >
Algebr: yes Lwt_unix.pipe
22:50
govg has quit [Ping timeout: 248 seconds]
22:57
zirman has joined #ocaml
22:57
zirman has quit [Changing host]
22:57
zirman has joined #ocaml
23:05
zv has quit [Ping timeout: 256 seconds]
23:10
fre has quit [Quit: WeeChat 1.4]
23:10
zirman has quit [Remote host closed the connection]
23:14
agarwal1975 has quit [Quit: agarwal1975]
23:15
yomimono has quit [Ping timeout: 250 seconds]
23:26
danieli has joined #ocaml
23:27
sh0t has quit [Remote host closed the connection]
23:32
BitPuffin|osx has quit [Ping timeout: 265 seconds]
23:36
jlongster has joined #ocaml
23:37
noddy2OOO has quit [Ping timeout: 245 seconds]
23:40
jlongster has quit [Client Quit]
23:40
yomimono has joined #ocaml
23:41
jlongster has joined #ocaml
23:46
pyon has quit [Quit: Unyu~? Why is Emacs behaving strangely?]
23:47
pyon has joined #ocaml
23:53
smondet has quit [Ping timeout: 250 seconds]