00:22
smondet has quit [Ping timeout: 240 seconds]
00:25
Algebr` has quit [Ping timeout: 246 seconds]
00:28
noddy has quit [Ping timeout: 256 seconds]
00:39
xorpse has joined #ocaml
00:43
Simn has quit [Quit: Leaving]
00:56
dhil has quit [Ping timeout: 246 seconds]
00:58
dhil has joined #ocaml
01:10
xorpse has quit [Ping timeout: 240 seconds]
01:13
beaumonta has quit [*.net *.split]
01:13
clockish has quit [*.net *.split]
01:13
zozozo has quit [*.net *.split]
01:13
igitoor has quit [*.net *.split]
01:13
reynir has quit [*.net *.split]
01:13
picolino has quit [*.net *.split]
01:13
nore has quit [*.net *.split]
01:13
dmbaturin has quit [*.net *.split]
01:13
TheAuGingembre has quit [*.net *.split]
01:13
noplamodo has quit [*.net *.split]
01:13
mami has quit [*.net *.split]
01:13
breitenj has quit [*.net *.split]
01:13
tormen has quit [*.net *.split]
01:13
mal`` has quit [*.net *.split]
01:13
kolko has quit [*.net *.split]
01:13
mattg has quit [*.net *.split]
01:13
lobo has quit [*.net *.split]
01:13
dave_tucker has quit [*.net *.split]
01:13
grandy has quit [*.net *.split]
01:13
chelfi has quit [*.net *.split]
01:13
cross has quit [*.net *.split]
01:13
Drup has quit [*.net *.split]
01:13
seliopou has quit [*.net *.split]
01:14
myst|fon has quit [*.net *.split]
01:14
stephe has quit [*.net *.split]
01:14
inr has quit [*.net *.split]
01:14
\h has quit [*.net *.split]
01:14
louisriesener has quit [*.net *.split]
01:14
cyraxjoe has quit [*.net *.split]
01:14
pigoz has quit [*.net *.split]
01:14
tobast has quit [*.net *.split]
01:14
theblatte has quit [*.net *.split]
01:14
peddie has quit [*.net *.split]
01:14
tobiasBora has quit [*.net *.split]
01:14
jun has quit [*.net *.split]
01:14
haesbaert has quit [*.net *.split]
01:14
Asmadeus has quit [*.net *.split]
01:14
yminsky has quit [*.net *.split]
01:14
gregoire has quit [*.net *.split]
01:14
cschneid has quit [*.net *.split]
01:14
cthuluh has quit [*.net *.split]
01:14
jkni has quit [*.net *.split]
01:14
asmanur has quit [*.net *.split]
01:14
SaidinWoT has quit [*.net *.split]
01:14
riveter has quit [*.net *.split]
01:14
bacam has quit [*.net *.split]
01:14
noplamodo_ has joined #ocaml
01:14
dmbaturin has joined #ocaml
01:14
clockish has joined #ocaml
01:14
tormen has joined #ocaml
01:14
breitenj has joined #ocaml
01:14
picolino has joined #ocaml
01:14
theblatt1 has joined #ocaml
01:14
TheAuGingembre has joined #ocaml
01:14
mami has joined #ocaml
01:14
chelfi has joined #ocaml
01:14
beaumonta has joined #ocaml
01:14
zozozo has joined #ocaml
01:14
Asmadeus has joined #ocaml
01:14
kolko has joined #ocaml
01:14
haesbaert has joined #ocaml
01:14
jun has joined #ocaml
01:14
SaidinWoT has joined #ocaml
01:14
seliopou_ has joined #ocaml
01:14
cthuluh has joined #ocaml
01:14
Asmadeus has joined #ocaml
01:14
Asmadeus has quit [Changing host]
01:14
cross has joined #ocaml
01:14
igitoor has joined #ocaml
01:14
cschneid_ has joined #ocaml
01:14
asmanur has joined #ocaml
01:14
tobast has joined #ocaml
01:14
reynir has joined #ocaml
01:14
lobo has joined #ocaml
01:14
nore has joined #ocaml
01:14
riveter has joined #ocaml
01:14
\h has joined #ocaml
01:14
louisriesener has joined #ocaml
01:14
inr has joined #ocaml
01:14
pigoz has joined #ocaml
01:14
tobiasBora has joined #ocaml
01:15
peddie has joined #ocaml
01:15
mal`` has joined #ocaml
01:15
john51 has quit [Read error: Connection reset by peer]
01:16
reynir is now known as Guest27513
01:16
lobo is now known as Guest43228
01:16
john51 has joined #ocaml
01:16
igitoor has quit [Changing host]
01:16
igitoor has joined #ocaml
01:16
Drup has joined #ocaml
01:16
grandy____ is now known as grandy
01:17
JSharp has quit [Ping timeout: 258 seconds]
01:17
rfv has quit [Ping timeout: 258 seconds]
01:17
caw has quit [Ping timeout: 258 seconds]
01:18
cyraxjoe has joined #ocaml
01:18
ggherdov has quit [Ping timeout: 258 seconds]
01:18
srcerer has quit [Ping timeout: 258 seconds]
01:18
gregoire has joined #ocaml
01:19
Guest43228 has quit [Quit: WeeChat 1.0.1]
01:20
lobo__ has joined #ocaml
01:20
lobo__ is now known as lobo
01:23
grandy has joined #ocaml
01:25
yminsky has joined #ocaml
01:25
srcerer has joined #ocaml
01:26
myst|fon has joined #ocaml
01:26
JSharp has joined #ocaml
01:26
caw has joined #ocaml
01:27
stephe has joined #ocaml
01:27
dave_tucker has joined #ocaml
01:27
ggherdov has joined #ocaml
01:30
isd has joined #ocaml
01:37
mattg has joined #ocaml
01:42
rfv has joined #ocaml
01:42
silver has quit [Read error: Connection reset by peer]
01:45
isd has quit [Ping timeout: 248 seconds]
01:45
jkni has joined #ocaml
01:47
isd has joined #ocaml
01:48
mfp has quit [Ping timeout: 240 seconds]
01:54
teknozulu_ has joined #ocaml
01:59
noddy has joined #ocaml
02:03
two_wheels has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:04
two_wheels has joined #ocaml
02:12
noddy has quit [Ping timeout: 246 seconds]
02:26
noddy has joined #ocaml
02:43
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:44
jlongster has joined #ocaml
02:57
NJBS has quit [Quit: Catastrophic failure.]
02:57
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:17
moei has quit [Ping timeout: 248 seconds]
03:17
copy` has quit [Quit: Connection closed for inactivity]
03:20
govg has quit [Ping timeout: 248 seconds]
03:22
Algebr` has joined #ocaml
03:26
Algebr` has quit [Ping timeout: 255 seconds]
03:29
pierpa has quit [Ping timeout: 245 seconds]
03:42
two_wheels has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:43
two_wheels has joined #ocaml
03:44
sz0 has joined #ocaml
03:57
two_wheels has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:03
wtetzner has quit [Remote host closed the connection]
04:07
noddy has quit [Quit: WeeChat 1.6]
04:33
wtetzner has joined #ocaml
04:49
rgrinberg has quit [Ping timeout: 240 seconds]
04:59
nomicflux has quit [Quit: nomicflux]
05:01
teknozulu_ has quit [Ping timeout: 240 seconds]
05:09
jao has quit [Remote host closed the connection]
05:29
fraggle_ has quit [Ping timeout: 240 seconds]
05:36
fraggle_ has joined #ocaml
05:51
maattdd__ has joined #ocaml
05:53
maicki has joined #ocaml
05:54
MercurialAlchemi has quit [Ping timeout: 258 seconds]
05:55
maattdd__ has quit [Ping timeout: 256 seconds]
06:10
zapu has quit [Ping timeout: 248 seconds]
06:10
artart78 has quit [Ping timeout: 268 seconds]
06:10
pigoz has quit [Ping timeout: 255 seconds]
06:10
Cypi has quit [Ping timeout: 258 seconds]
06:11
artart78 has joined #ocaml
06:11
Cypi has joined #ocaml
06:11
pigoz has joined #ocaml
06:21
wtetzner has quit [Remote host closed the connection]
06:29
sz0 has quit [Quit: Connection closed for inactivity]
06:34
maicki has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:37
zapu has joined #ocaml
06:39
MercurialAlchemi has joined #ocaml
06:49
david_shaked has joined #ocaml
06:49
<
david_shaked >
hey everyone
06:49
<
david_shaked >
does anyone have experience using qcheck?
06:58
AlexDenisov has joined #ocaml
07:14
Guest27513 has quit [Quit: WeeChat 1.4]
07:14
reynir has joined #ocaml
07:14
<
david_shaked >
hey reynir
07:29
<
david_shaked >
does anyone know how to check if some value is an instance of a type 'a?
07:32
maicki has joined #ocaml
07:36
jnavila has joined #ocaml
07:39
<
david_shaked >
(at runtime)
07:39
david_shaked has quit [Quit: Konversation terminated!]
07:44
sepp2k has joined #ocaml
07:46
<
companion_cube >
aww
07:49
govg has joined #ocaml
07:53
wtetzner has joined #ocaml
07:55
slash^ has joined #ocaml
07:59
wtetzner has quit [Ping timeout: 248 seconds]
08:03
Simn has joined #ocaml
08:17
rom1504 has quit [Ping timeout: 260 seconds]
08:20
moei has joined #ocaml
08:22
stux|RC-only has quit [Read error: Connection reset by peer]
08:22
vodkaInferno has quit [Read error: Connection reset by peer]
08:24
companion_square has joined #ocaml
08:24
pwzoii_ has quit [Ping timeout: 248 seconds]
08:25
ia0_ has joined #ocaml
08:25
vbmithr has joined #ocaml
08:25
jbrown has quit [Ping timeout: 248 seconds]
08:25
DanielRi1hman has joined #ocaml
08:25
freusque has quit [Ping timeout: 245 seconds]
08:25
fold4 has quit [Ping timeout: 245 seconds]
08:25
rwmjones has quit [Ping timeout: 248 seconds]
08:25
j0sh_ has quit [Ping timeout: 248 seconds]
08:25
nopf has quit [Ping timeout: 248 seconds]
08:26
cthuluh has quit [Ping timeout: 245 seconds]
08:26
average has quit [Ping timeout: 245 seconds]
08:26
sepp2k has quit [Ping timeout: 245 seconds]
08:26
k1000_ has joined #ocaml
08:27
cthuluh has joined #ocaml
08:28
vodkaInferno has joined #ocaml
08:29
stux|RC-only has joined #ocaml
08:30
rom1504 has joined #ocaml
08:30
rwmjones has joined #ocaml
08:31
rpcope has quit [*.net *.split]
08:31
so has quit [*.net *.split]
08:31
eikke has quit [*.net *.split]
08:31
Rome has quit [*.net *.split]
08:31
pitastrudl has quit [*.net *.split]
08:31
jave has quit [*.net *.split]
08:31
orbitz has quit [*.net *.split]
08:31
Johann has quit [*.net *.split]
08:31
tianon has quit [*.net *.split]
08:31
profan has quit [*.net *.split]
08:31
unbalancedparen has quit [*.net *.split]
08:31
lyxia has quit [*.net *.split]
08:31
lukky513 has quit [*.net *.split]
08:31
SIGILL has quit [*.net *.split]
08:31
sigjuice has quit [*.net *.split]
08:31
bernardofpc has quit [*.net *.split]
08:31
emias has quit [*.net *.split]
08:31
MasseR has quit [*.net *.split]
08:31
Drup has quit [*.net *.split]
08:31
jmct has quit [*.net *.split]
08:31
banjiewen has quit [*.net *.split]
08:31
fedruantine has quit [*.net *.split]
08:31
cheater has quit [*.net *.split]
08:31
sfri has quit [*.net *.split]
08:31
ansiwen has quit [*.net *.split]
08:31
vbmithr_ has quit [*.net *.split]
08:31
jmasseo has quit [*.net *.split]
08:31
ia0 has quit [*.net *.split]
08:31
_y has quit [*.net *.split]
08:31
wagle has quit [*.net *.split]
08:31
companion_cube has quit [*.net *.split]
08:31
DanielRichman has quit [*.net *.split]
08:31
k1000 has quit [*.net *.split]
08:31
chenglou has quit [*.net *.split]
08:31
NhanH has quit [*.net *.split]
08:31
mankyKitty has quit [*.net *.split]
08:31
yunxing has quit [*.net *.split]
08:31
pippijn has quit [*.net *.split]
08:31
relrod has quit [*.net *.split]
08:31
vinoski has quit [*.net *.split]
08:31
danieli has quit [*.net *.split]
08:31
Muzer has quit [*.net *.split]
08:31
atsampson has quit [*.net *.split]
08:31
strmpnk has quit [*.net *.split]
08:31
spion has quit [*.net *.split]
08:31
StatelessCat has quit [*.net *.split]
08:31
tg has quit [*.net *.split]
08:31
wolfcore has quit [*.net *.split]
08:31
flux has quit [*.net *.split]
08:31
maufred has quit [*.net *.split]
08:31
milodavis has quit [*.net *.split]
08:31
xaimus has quit [*.net *.split]
08:31
aantron has quit [*.net *.split]
08:31
gargawel has quit [*.net *.split]
08:31
andyc has quit [*.net *.split]
08:31
Madars has quit [*.net *.split]
08:31
rbocquet has quit [*.net *.split]
08:31
asm89 has quit [*.net *.split]
08:31
apache3 has quit [*.net *.split]
08:31
andreypopp has quit [*.net *.split]
08:31
gustav__1 has quit [*.net *.split]
08:31
ewanas has quit [*.net *.split]
08:31
Geekingfrog has quit [*.net *.split]
08:31
jyc has quit [*.net *.split]
08:31
mrallen1 has quit [*.net *.split]
08:31
AlexRussia has quit [*.net *.split]
08:31
Leonidas has quit [*.net *.split]
08:31
thegameg has quit [*.net *.split]
08:31
rixed has quit [*.net *.split]
08:31
Nazral has quit [*.net *.split]
08:31
vishesh has quit [*.net *.split]
08:31
cantstanya has quit [*.net *.split]
08:31
eagleflo has quit [*.net *.split]
08:31
tizoc has quit [*.net *.split]
08:31
metaglog has quit [*.net *.split]
08:31
pote_ has quit [*.net *.split]
08:31
jerith has quit [*.net *.split]
08:31
maker has quit [*.net *.split]
08:31
tokenrove has quit [*.net *.split]
08:31
trevorriles has quit [*.net *.split]
08:31
pwzoii has joined #ocaml
08:32
nopf has joined #ocaml
08:33
mbrock has quit [Ping timeout: 245 seconds]
08:33
bigs_ has quit [Ping timeout: 245 seconds]
08:33
dch has quit [Ping timeout: 250 seconds]
08:33
caw has quit [Ping timeout: 250 seconds]
08:34
parataxis has quit [Ping timeout: 240 seconds]
08:34
ggherdov has quit [Ping timeout: 248 seconds]
08:34
l1x has quit [Ping timeout: 240 seconds]
08:34
JSharp has quit [Ping timeout: 245 seconds]
08:35
rfv has quit [Ping timeout: 245 seconds]
08:35
MorTal1ty has quit [Ping timeout: 245 seconds]
08:37
danieli has joined #ocaml
08:37
relrod has joined #ocaml
08:37
Drup has joined #ocaml
08:37
Muzer has joined #ocaml
08:37
profan has joined #ocaml
08:37
rixed has joined #ocaml
08:37
Leonidas has joined #ocaml
08:37
AlexRussia has joined #ocaml
08:37
orbitz has joined #ocaml
08:37
sfri has joined #ocaml
08:37
spion has joined #ocaml
08:37
xaimus has joined #ocaml
08:37
thegameg has joined #ocaml
08:37
cheater has joined #ocaml
08:37
milodavis has joined #ocaml
08:37
fedruantine has joined #ocaml
08:37
unbalancedparen has joined #ocaml
08:37
wolfcore has joined #ocaml
08:37
vinoski has joined #ocaml
08:37
pippijn has joined #ocaml
08:37
lukky513 has joined #ocaml
08:37
_y has joined #ocaml
08:37
jmasseo has joined #ocaml
08:37
wagle has joined #ocaml
08:37
jave has joined #ocaml
08:37
ansiwen has joined #ocaml
08:37
flux has joined #ocaml
08:37
atsampson has joined #ocaml
08:37
eikke has joined #ocaml
08:37
apache3 has joined #ocaml
08:37
maufred has joined #ocaml
08:37
chenglou has joined #ocaml
08:37
tg has joined #ocaml
08:37
andyc has joined #ocaml
08:37
Rome has joined #ocaml
08:37
lyxia has joined #ocaml
08:37
gargawel has joined #ocaml
08:37
Johann has joined #ocaml
08:37
pote_ has joined #ocaml
08:37
Nazral has joined #ocaml
08:37
tokenrove has joined #ocaml
08:37
tianon has joined #ocaml
08:37
vishesh has joined #ocaml
08:37
rpcope has joined #ocaml
08:37
aantron has joined #ocaml
08:37
sigjuice has joined #ocaml
08:37
Geekingfrog has joined #ocaml
08:37
maker has joined #ocaml
08:37
trevorriles has joined #ocaml
08:37
MasseR has joined #ocaml
08:37
eagleflo has joined #ocaml
08:37
rbocquet has joined #ocaml
08:37
jerith has joined #ocaml
08:37
ewanas has joined #ocaml
08:37
tizoc has joined #ocaml
08:37
metaglog has joined #ocaml
08:37
emias has joined #ocaml
08:37
gustav__1 has joined #ocaml
08:37
jyc has joined #ocaml
08:37
bernardofpc has joined #ocaml
08:37
yunxing has joined #ocaml
08:37
SIGILL has joined #ocaml
08:37
Madars has joined #ocaml
08:37
Muzer has quit [Max SendQ exceeded]
08:38
freusque has joined #ocaml
08:38
jbrown has joined #ocaml
08:39
StatelessCat has joined #ocaml
08:39
DanielRi1hman is now known as Guest62099
08:39
sepp2k has joined #ocaml
08:39
StatelessCat has quit [Changing host]
08:39
StatelessCat has joined #ocaml
08:39
pitastrudl has joined #ocaml
08:39
fold4 has joined #ocaml
08:40
yminsky has quit [Ping timeout: 258 seconds]
08:40
lopex has quit [Ping timeout: 257 seconds]
08:40
asm89 has joined #ocaml
08:40
Sorella has quit [Ping timeout: 255 seconds]
08:40
jcloud has quit [Ping timeout: 245 seconds]
08:40
j0sh has joined #ocaml
08:41
average has joined #ocaml
08:41
companion_square is now known as companion_cube
08:41
srcerer has quit [Ping timeout: 248 seconds]
08:41
msch has quit [Ping timeout: 245 seconds]
08:41
parataxis has joined #ocaml
08:41
ia0_ is now known as ia0
08:43
JSharp has joined #ocaml
08:43
mbrock has joined #ocaml
08:44
cantstanya has joined #ocaml
08:45
MorTal1ty has joined #ocaml
08:45
Muzer has joined #ocaml
08:47
andreypopp has joined #ocaml
08:48
mrallen1 has joined #ocaml
08:48
AltGr has joined #ocaml
08:48
jmct has joined #ocaml
08:48
caw has joined #ocaml
08:48
maattdd__ has joined #ocaml
08:49
yminsky has joined #ocaml
08:50
ggherdov has joined #ocaml
08:50
lopex has joined #ocaml
08:50
moei has quit [Quit: Leaving...]
08:50
dch has joined #ocaml
08:51
mankyKitty has joined #ocaml
08:54
banjiewen has joined #ocaml
08:54
rfv has joined #ocaml
08:54
Simn has quit [Read error: Connection reset by peer]
08:56
ggherdov has quit [Excess Flood]
08:56
NhanH has joined #ocaml
08:58
l1x has joined #ocaml
08:58
bigs_ has joined #ocaml
08:58
ziyourenxiang has joined #ocaml
08:58
ggherdov has joined #ocaml
08:59
strmpnk has joined #ocaml
09:01
fre has quit [Ping timeout: 255 seconds]
09:01
jcloud has joined #ocaml
09:02
msch has joined #ocaml
09:05
bacam has joined #ocaml
09:12
Sorella has joined #ocaml
09:20
Simn has joined #ocaml
09:31
so has joined #ocaml
09:41
maker has quit [Quit: = ""]
09:42
maker has joined #ocaml
09:51
jbrown has quit [Ping timeout: 240 seconds]
10:04
jbrown has joined #ocaml
10:20
mengu has joined #ocaml
10:21
maicki has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:28
mfp has joined #ocaml
10:53
wtetzner has joined #ocaml
10:57
wtetzner has quit [Ping timeout: 256 seconds]
11:11
moei has joined #ocaml
11:16
ltadeu has joined #ocaml
11:38
maicki has joined #ocaml
11:41
ltadeu has quit [Remote host closed the connection]
11:42
ltadeu has joined #ocaml
11:45
silver has joined #ocaml
11:51
jbrown has quit [Ping timeout: 240 seconds]
12:04
jbrown has joined #ocaml
12:10
larhat has joined #ocaml
12:17
larhat has quit [Quit: Leaving.]
12:19
larhat has joined #ocaml
12:23
larhat has quit [Client Quit]
12:27
maicki has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:38
foo30303 has joined #ocaml
12:42
sepp2k has quit [Quit: Leaving.]
12:42
fre has joined #ocaml
12:53
ktosiek[m] has joined #ocaml
12:54
larhat has joined #ocaml
13:06
foo30303 has quit [Ping timeout: 258 seconds]
13:10
larhat has quit [Quit: Leaving.]
13:21
jbrown has quit [Ping timeout: 240 seconds]
13:24
RonnieHolm has joined #ocaml
13:25
larhat has joined #ocaml
13:25
larhat has quit [Client Quit]
13:31
Denommus has joined #ocaml
13:34
jbrown has joined #ocaml
13:35
foo30303 has joined #ocaml
13:35
maicki has joined #ocaml
13:37
Simn has quit [Ping timeout: 240 seconds]
13:38
maicki has quit [Client Quit]
13:48
Geekingfrog has joined #ocaml
13:54
shinnya has joined #ocaml
14:07
mengu has quit [Quit: Leaving...]
14:07
Denommus has quit [Ping timeout: 248 seconds]
14:08
foo30303 has quit [Quit: leaving]
14:12
sfri has quit [Remote host closed the connection]
14:13
Enjolras has joined #ocaml
14:13
<
flux >
soo, what's the nice way to send messages from native ocaml thread to an Lwt thread?
14:14
<
Drup >
flux: Lwt_preemptive ? ^^'
14:16
<
flux >
drup, thank you for enabling my laziness :-). I just have something I want to finish in a couple hours and still integration work left ;).
14:19
maattdd__ has quit [Quit: WeeChat 1.5]
14:22
sfri has joined #ocaml
14:30
pizou has joined #ocaml
14:31
<
pizou >
i'm getting # Error: Cannot find file /home/user/.opam/system/lib/easy-format/easy_format.cmx when trying to install "opam install yojson"
14:33
<
companion_cube >
does `opam switch` still show "system"?
14:34
<
pizou >
companion_cube: it's fixed now i reinstalled easy-format :) thanks
14:35
<
companion_cube >
ah, cool
14:35
<
pizou >
i have another issue though: ppx_jane is not available because your system doesn't comply with ocaml-version = "4.02.3".
14:35
<
companion_cube >
ah, you need a particular version of OCaml
14:35
<
companion_cube >
most people use `opam switch` to install a compiler via opam, btw
14:36
<
companion_cube >
`opam switch 4.02.3`, then `eval $(opam config env)` then `opam install ppx_jane`
14:36
<
companion_cube >
this will compile OCaml in ~/.opam, change the environment so as to use it, then try to install
14:37
<
pizou >
i'm trying opam switch now
14:38
<
pizou >
it takes a while compiling everything :)
14:40
nomicflux has joined #ocaml
14:40
<
companion_cube >
yeah,but could be worse ^^
14:40
<
companion_cube >
oh, you can also `git clone L2`, then `cd L2; opam pin add L2 .` (it will use opam to build and install L2)
14:41
<
companion_cube >
if the opam file is written properly, it will install the dependencies ;)
14:42
<
companion_cube >
(wow, this L2 seems sophisticated, glancing over the module names)
14:42
<
pizou >
companion_cube: yes apparently they can synthesize nice functional programs by examples (see specs folder)
14:43
<
pizou >
their paper got accepted at PLDI
14:46
<
Drup >
ah yes, I saw that paper, it seemed very interesting
14:46
freusque has quit [Ping timeout: 245 seconds]
14:47
d0nn1e has quit [Ping timeout: 255 seconds]
14:47
<
companion_cube >
what does it use?
14:47
jlongster has joined #ocaml
14:49
d0nn1e has joined #ocaml
14:50
<
Drup >
companion_cube: I don't remember the detail, you might want to just read the paper :p
14:55
<
reynir >
pizou: what distribution are you runniing?
14:55
<
pizou >
reynir: ubuntu 14.04
14:55
<
pizou >
there may be clashes between the ocaml distribution version and the opam version
14:56
* reynir
has had "fun" times with opam system compiler on rolling release distros
14:57
<
pizou >
i get the same error "core.cmi # is not a compiled interface for this version of OCaml." when using ./configure and make
15:01
<
pizou >
seems like when I install core, ocamlfind gets upgraded to 1.7.1, and when i want to install L2, ocamlfind gets downgraded to 1.6.1
15:01
<
companion_cube >
pizou: you need to `eval $( opam config env)`
15:02
<
companion_cube >
this looks like you use the wrong directory
15:03
<
pizou >
companion_cube: i did it after the opam switch; maybe i don't really want version 4.02.3?
15:03
<
pizou >
alright, I've just did opam remove core; opam install core; eval $( opam config env)
15:03
<
companion_cube >
(the eval must be done in every terminal you use)
15:03
<
companion_cube >
(people usually put it in their ~/.bashrc)
15:04
<
Drup >
(opam init should put it in your bashrc automatically, too)
15:04
<
pizou >
isn't opam init done only once?
15:04
ltadeu has quit [Ping timeout: 245 seconds]
15:04
ltadeu has joined #ocaml
15:07
<
pizou >
companion_cube: is there perhaps an issue with their opam file?
15:08
freusque has joined #ocaml
15:08
<
pizou >
they require "ocamlfind" {build & <= "1.6.2"}
15:09
MercurialAlchemi has quit [Ping timeout: 256 seconds]
15:09
gjaldon has joined #ocaml
15:10
<
companion_cube >
I don't think it's related
15:10
<
pizou >
ok, i'm now recompiling everything for 1.6.2
15:11
<
pizou >
but i still get the error with core.cmi
15:12
<
companion_cube >
does `opam switch` show 4.02.3 now?
15:12
<
pizou >
companion_cube: yes
15:12
<
companion_cube >
weird.
15:12
<
pizou >
companion_cube: on their github it's written "We rely on 4.03.0 features, so remove 4.02."
15:12
<
pizou >
in a commit
15:14
<
companion_cube >
there is probably some partial compilation state in your ~/.opam, with remnants of the previous compilation
15:14
<
companion_cube >
e.g. in /home/user/.opam/4.02.3/build/L2.1.0/
15:15
<
pizou >
companion_cube: should I do make clean in this foldeR?
15:15
<
companion_cube >
yes, try it
15:16
john51 has quit [Write error: Connection reset by peer]
15:16
<
pizou >
companion_cube: it did the clean
15:16
<
companion_cube >
now try the opam install again
15:16
john51_ has joined #ocaml
15:21
<
companion_cube >
heh
15:21
<
companion_cube >
in the same directory, remove _build entirely
15:21
jbrown has quit [Ping timeout: 240 seconds]
15:22
<
companion_cube >
ah, also `rm setup.data`
15:22
<
companion_cube >
(this might be the issue here)
15:23
<
pizou >
companion_cube: i don't see setup.data (maybe it was removed with make clean?)
15:23
<
companion_cube >
ah, possibly
15:23
<
companion_cube >
but remove _build entirely
15:23
<
pizou >
companion_cube: by the way if I succeed in installing L2, where will the bin file be?
15:23
<
companion_cube >
(oasis is nice but it's a bit stateful)
15:23
<
companion_cube >
pizou: in ~/.opam/4.02.3/bin probably
15:23
<
pizou >
companion_cube: i don't see the setup.data even after trying to install
15:24
<
pizou >
companion_cube: i still get the same error unfortunately
15:24
<
companion_cube >
this is weird, because it still tries with the "system" ocamlbuild
15:26
<
jerith >
What shell do you use?
15:26
<
pizou >
companion_cube: why does it use /usr/bin/ocamlbuild and not the opam ocamlbuild?
15:26
<
jerith >
If it's zsh or something you may need a "rehash" after switching.
15:26
<
pizou >
jerith: not sure it's yakuake/konsole, bash I think
15:27
<
jerith >
Maybe try "rehash" anyway. At worst it'll give you an error message.
15:27
<
pizou >
jerith: command not found
15:27
<
jerith >
Then that's not the problem.
15:28
<
jerith >
Hrm. Maybe you need to "./configure" or something?
15:28
<
companion_cube >
pizou: it should not happen if it's a bash in which the `eval` was done :/
15:28
<
pizou >
companion_cube: "which ocamlbuild" indeeds return ".opam/4.02.3/bin/ocamlbuild"
15:28
<
companion_cube >
very strange then
15:30
<
pizou >
indeed returns*
15:30
<
pizou >
sorry i got to go for now, i'll try on another system tonight
15:30
<
pizou >
thanks for the help :)
15:30
pizou has quit [Quit: Page closed]
15:34
jbrown has joined #ocaml
15:40
Simn has joined #ocaml
15:41
avsej has quit [Ping timeout: 240 seconds]
15:43
silver has quit [Read error: Connection reset by peer]
15:43
shinnya has quit [Ping timeout: 256 seconds]
15:44
avsej has joined #ocaml
15:44
avsej has quit [Changing host]
15:44
avsej has joined #ocaml
15:48
silver has joined #ocaml
15:53
MercurialAlchemi has joined #ocaml
16:02
<
flux >
clearly next step for the automatic ocaml package compiler for different versions would be automatic bug filing if there's a version where it doesn't work
16:03
<
flux >
I'm not going to opam switch the slow, slow raspberry pi just because ppx_deriving gives syntax error with 4.02.1 :-)
16:08
al-damiri has joined #ocaml
16:08
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:08
ziyourenxiang has quit [Quit: Leaving]
16:12
<
flux >
actually a feedback loop for opam would be great.. "configuration X failed to build", possibly even including logs. I would sign up for that, if it meant that the information would end up somewhere that would allow further invocations to Just Work(TM)
16:25
ryanartecona has joined #ocaml
16:26
<
gjaldon >
I don't get though how to get a `t Fmt.t` type
16:26
<
gjaldon >
not familiar with using Fmt or Formatters in OCaml
16:27
<
jerith >
gjaldon: The fmt documentation is pretty good and it links to the bits of the Format docs you need to read.
16:28
<
gjaldon >
I got a custom type like this `[(Equal of string array); (Deleted of string array); (Added of string array)]`
16:28
<
gjaldon >
I want to make a formatter for that but really don't grok even the docs of Fmt
16:29
<
Drup >
that's just about boxes
16:29
<
Drup >
not format in general
16:29
RonnieHolm has quit [Read error: Connection reset by peer]
16:30
<
jerith >
There's an example down at the bottom that might be useful.
16:33
<
jerith >
In general, you probably want your printer to be something like `let pp_mytype ppf v = Format.fprintf "..." ...` with the ... filled in with something appropriate for your type.
16:36
xorpse has joined #ocaml
16:37
<
jerith >
For your particular type, since alcotest is apparently already using Fmt, you might want `| Equal v -> Fmt.pf ppf "Equal: %a" (Fmt.array Fmt.string) v` or something for one of the variants.
16:39
<
gjaldon >
jerith: thanks a lot for the help! about to head out now so will only be able to test it out in 30mins. will let you know how it goes when I get back
16:39
<
gjaldon >
thanks again!
16:40
<
jerith >
gjaldon: :-)
16:40
<
jerith >
I'm not an expert, but I've been learning this stuff for my own code this week.
16:43
jlongster has joined #ocaml
16:45
jnavila has quit [Ping timeout: 258 seconds]
16:45
copy` has joined #ocaml
16:47
gjaldon has quit [Ping timeout: 272 seconds]
16:49
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:51
jbrown has quit [Ping timeout: 240 seconds]
17:00
beaumonta has quit [Remote host closed the connection]
17:00
beaumonta has joined #ocaml
17:04
jbrown has joined #ocaml
17:17
jlongster has joined #ocaml
17:26
Denommus has joined #ocaml
17:32
fre has quit [Quit: WeeChat 1.6]
17:36
AlexRussia has quit [Ping timeout: 268 seconds]
17:38
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:39
AlexRussia has joined #ocaml
17:42
ryanartecona has quit [Quit: ryanartecona]
17:42
gjaldon has joined #ocaml
17:44
groovy2shoes has quit [Quit: Leaving]
17:45
jlongster has joined #ocaml
17:50
ryanartecona has joined #ocaml
17:52
jnavila has joined #ocaml
18:03
smondet has joined #ocaml
18:05
NJBS has joined #ocaml
18:05
jnavila has quit [Ping timeout: 240 seconds]
18:14
fraggle_ has quit [Ping timeout: 240 seconds]
18:21
jbrown has quit [Ping timeout: 240 seconds]
18:24
xorpse has quit [Ping timeout: 246 seconds]
18:25
KV has joined #ocaml
18:28
cocoabean has joined #ocaml
18:30
cocoabean has quit [Client Quit]
18:34
jbrown has joined #ocaml
18:34
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:38
jlongster has joined #ocaml
18:42
jao has joined #ocaml
18:43
P4Titan has joined #ocaml
18:43
<
P4Titan >
Hi all. I want to play around with ocaml by writing a tcp client/server combo
18:43
pierpa has joined #ocaml
18:44
<
P4Titan >
As a looked about the internet, I only found concrete examples of this using the Unix libaries that come with the standard kit
18:44
<
P4Titan >
Is this the prefered method to approaching client/server code when using OCaml?
18:45
ryanartecona has quit [Quit: ryanartecona]
18:48
<
aantron >
you can get away with Unix as well, but you will want to be careful and make sure that you write a stereotypical single-threaded server, i.e. don't try to start a thread for handling each request
18:48
<
P4Titan >
from my understanding, isn't that for expressing coroutines?
18:48
<
aantron >
yeah, that's pretty close to it
18:50
gjaldon has quit []
18:57
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:08
octachron has joined #ocaml
19:08
jnavila has joined #ocaml
19:21
awal is now known as afk
19:21
eikke has quit [*.net *.split]
19:21
orbitz_ has joined #ocaml
19:22
so has quit [*.net *.split]
19:22
jave has quit [*.net *.split]
19:22
Rome has quit [*.net *.split]
19:22
orbitz has quit [*.net *.split]
19:22
RomanZ5 has joined #ocaml
19:24
<
P4Titan >
ic, thanks!
19:25
jao has quit [Read error: Connection reset by peer]
19:26
jave has joined #ocaml
19:27
<
KV >
aantron, why not create a thread to handle each request with Unix.socket?
19:28
<
aantron >
KV: you can do that, as long as you are aware that the threads are not running in parallel (except when blocked on I/O)
19:29
<
aantron >
so mainly because it is misleading, and maybe not worth the cost compared to a single threaded server with your event loop (i have no measurements)
19:29
<
KV >
aantron, ah okay thanks. Actually have a server doing just that, that's why I wondered. But I run one server for each core and have a load balancer to distribute the requests.
19:29
<
aantron >
my experience in C++ was that single threaded servers are faster in many cases anyway, with one thread per core.
19:29
<
aantron >
that seems right :)
19:32
jao has joined #ocaml
19:51
jbrown has quit [Ping timeout: 240 seconds]
19:53
jao has quit [Remote host closed the connection]
19:53
_andre has quit [Quit: leaving]
19:56
KV has quit [Quit: WeeChat 1.5]
19:58
<
flux >
aantron, you mean one process per core?
20:01
<
aantron >
in my case yes
20:02
<
flux >
ppx_core doesn't build with 4.04.0 due to "Error: Unbound value Pprintast.default", any remedy?
20:02
<
flux >
114.20+69 that is, 113.33.03 doesn't install due to compiler version dependency
20:04
jbrown has joined #ocaml
20:04
jlongster has joined #ocaml
20:07
KV has joined #ocaml
20:11
KV has quit [Client Quit]
20:12
KV has joined #ocaml
20:15
kakadu has joined #ocaml
20:15
jao has joined #ocaml
20:26
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:31
axhixh has joined #ocaml
20:36
axhixh has quit [Remote host closed the connection]
20:37
axhixh has joined #ocaml
20:38
ryanartecona has joined #ocaml
20:42
KV has quit [Ping timeout: 272 seconds]
20:44
slash^ has quit [Read error: Connection reset by peer]
20:48
axhixh has left #ocaml [#ocaml]
20:49
P4Titan has quit [Ping timeout: 255 seconds]
20:51
Denommus has quit [Quit: going home]
20:58
chindy has joined #ocaml
20:59
<
chindy >
what is the let%... in like in lwt for example?
20:59
<
chindy >
nvm found an explanation
21:04
<
aantron >
ok :) it is bind, and explained sooner and more clearly (hopefully) in the WIP manual
21:05
<
aantron >
i will link to the appropriate functions from the README once that manual is posted
21:19
ltadeu has quit [Ping timeout: 246 seconds]
21:23
ollehar has joined #ocaml
21:26
LACampbell has joined #ocaml
21:27
fraggle_ has joined #ocaml
21:28
<
LACampbell >
how do you use jane streets Int32? it has no "add". I recall there is some syntax to use it with infix ops but I can't remember
21:28
<
ollehar >
LACampbell: doesn't the module has an add?
21:29
<
LACampbell >
ollehar: nope. "Error: Unbound value Int32.add"
21:29
<
LACampbell >
THere is a way to do something like "Int32(1 + 2)" but I cannot remember the exact syntax
21:31
jlongster has joined #ocaml
21:31
<
Drup >
LACampbell: just add a dot: Int32.(1 + 2)
21:32
<
LACampbell >
ah! well, Int32.(1l + 2l) but close enough
21:32
<
LACampbell >
I see it has 'val (+) : t -> t -> t" in the sig
21:33
<
LACampbell >
can I create my own operators and use them with a module like that?
21:35
<
ollehar >
check the implementation of Int32, maybe?
21:39
KV has joined #ocaml
21:43
AltGr has left #ocaml [#ocaml]
21:44
KV has quit [Ping timeout: 245 seconds]
21:44
chindy has quit [Ping timeout: 248 seconds]
21:47
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:51
atsampson has quit [Quit: time for a new irssi!]
21:51
atsampson has joined #ocaml
21:51
jbrown has quit [Ping timeout: 240 seconds]
22:00
<
aantron >
LACampbell: let (+) a b = ...
22:01
<
aantron >
though watch out with *, let (*) a b = ... parses as a comment
22:02
<
LACampbell >
aantron: ah. simple as that. same syntax as the vals
22:04
jbrown has joined #ocaml
22:15
freusque has quit [Ping timeout: 240 seconds]
22:16
freusque has joined #ocaml
22:17
<
flux >
leonidas, is there a way to retrieve user icon for chat_post_message? I guess it might be inside the json profile of the user_obj type, but I cannot get the users_info function working, possibly because users_list doesn't work
22:26
picolino has quit [Ping timeout: 246 seconds]
22:30
jao has quit [Remote host closed the connection]
22:35
picolino has joined #ocaml
22:41
KV has joined #ocaml
22:43
ohama has quit [Ping timeout: 272 seconds]
22:44
napping has joined #ocaml
22:46
jnavila has quit [Ping timeout: 240 seconds]
22:46
KV has quit [Ping timeout: 240 seconds]
22:51
jao has joined #ocaml
22:56
picolino has quit [Ping timeout: 246 seconds]
22:58
Simn has quit [Ping timeout: 240 seconds]
22:58
jao has quit [Remote host closed the connection]
22:58
picolino has joined #ocaml
22:59
sz0 has joined #ocaml
23:03
ohama has joined #ocaml
23:17
napping has quit [Quit: leaving]
23:20
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:21
jbrown has quit [Ping timeout: 240 seconds]
23:23
jao has joined #ocaml
23:24
octachron has quit [Quit: Leaving]
23:34
jbrown has joined #ocaml
23:35
ryanartecona has quit [Quit: ryanartecona]
23:36
MercurialAlchemi has quit [Ping timeout: 246 seconds]
23:37
smondet has quit [Ping timeout: 248 seconds]
23:38
kakadu has quit [Remote host closed the connection]
23:42
KV has joined #ocaml
23:47
jlongster has joined #ocaml
23:47
KV has quit [Ping timeout: 258 seconds]
23:47
jlongster has quit [Client Quit]