adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
jpdeplaix has joined #ocaml
c-c has joined #ocaml
rks` has joined #ocaml
Algebr has joined #ocaml
phrst has joined #ocaml
SIGILL has joined #ocaml
ollehar has quit [Quit: ollehar]
companion_square is now known as companion_cube
mietek has quit [Ping timeout: 268 seconds]
mietek has joined #ocaml
fold4 has quit [Ping timeout: 244 seconds]
maufred has joined #ocaml
Nazral has joined #ocaml
nopf has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
maker has joined #ocaml
low-profile has joined #ocaml
nopf has quit [Quit: leaving]
JacobEdelman_ has joined #ocaml
yunxing has joined #ocaml
clog has joined #ocaml
struk|desk|away is now known as struk|desk2
yunxing has quit [Remote host closed the connection]
yunxing has joined #ocaml
yunxing has quit [Ping timeout: 268 seconds]
ygrek_ has quit [Ping timeout: 264 seconds]
darkf has joined #ocaml
struk|desk2 is now known as struk|desk|away
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
<Maxdamantus> Wee .. this is fun.
<Maxdamantus> module Foo = ListT(ListT(ListT(Identity)));;
<Maxdamantus> Foo.pam [[[1; 2; 3]; [4; 5]]; [[6; 7]; []]] (fun x -> x + 1);; .. = [[[2; 3; 4]; [5; 6]]; [[7; 8]; []]]
<Maxdamantus> I saw there was a monads thing in batteries-included, but I don't think it had things like list monad transformers.
<Maxdamantus> oh, it does.
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 276 seconds]
MorTal1ty has quit [Ping timeout: 260 seconds]
MorTal1ty has joined #ocaml
teknozulu has quit [Ping timeout: 276 seconds]
wolfcore has quit [Ping timeout: 244 seconds]
wolfcore has joined #ocaml
wagle_ has quit [Read error: Connection reset by peer]
wagle has joined #ocaml
x77686d has quit [Quit: x77686d]
fold4 has joined #ocaml
wagle has quit [Remote host closed the connection]
wagle has joined #ocaml
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 252 seconds]
darkf_ has quit [Ping timeout: 268 seconds]
darkf has joined #ocaml
clockish has quit [Ping timeout: 268 seconds]
chenglou has joined #ocaml
clockish has joined #ocaml
wagle has quit [Read error: Connection reset by peer]
wagle has joined #ocaml
Nazral has quit [*.net *.split]
maufred has quit [*.net *.split]
MorTal1ty has quit [Ping timeout: 268 seconds]
MorTal1ty has joined #ocaml
fold4 has quit [Ping timeout: 256 seconds]
fold4 has joined #ocaml
Algebr` has joined #ocaml
myst|fon has quit [Ping timeout: 244 seconds]
myst|fon has joined #ocaml
gustav___ has quit [Ping timeout: 244 seconds]
gustav___ has joined #ocaml
tennix has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
sigjuice has quit [Ping timeout: 390 seconds]
tennix has joined #ocaml
sigjuice has joined #ocaml
JacobEdelman__ has joined #ocaml
JacobEdelman_ has quit [Ping timeout: 268 seconds]
JacobEdelman__ is now known as JacobEdelman_
mattrepl has quit [Ping timeout: 264 seconds]
mattrepl has joined #ocaml
FreeBirdLjj has joined #ocaml
MorTal1ty has quit [Ping timeout: 268 seconds]
axiles has quit [Ping timeout: 244 seconds]
MorTal1ty has joined #ocaml
struk|desk|away is now known as struk|desk2
seako has quit [Ping timeout: 260 seconds]
ggherdov has quit [Ping timeout: 260 seconds]
pootler_ has quit [Ping timeout: 260 seconds]
mankyKitty has quit [Ping timeout: 260 seconds]
copy` has quit [Ping timeout: 260 seconds]
jun has quit [Ping timeout: 260 seconds]
msch has quit [Ping timeout: 260 seconds]
[BNC]lokien has quit [Ping timeout: 260 seconds]
mankyKitty has joined #ocaml
jun has joined #ocaml
copy` has joined #ocaml
seako has joined #ocaml
lokien has joined #ocaml
strmpnk has quit [Ping timeout: 268 seconds]
msch has joined #ocaml
jun has quit [Ping timeout: 268 seconds]
seliopou_ has quit [Ping timeout: 413 seconds]
pootler_ has joined #ocaml
seliopou has joined #ocaml
mankyKitty has quit [Ping timeout: 268 seconds]
MorTal1ty has quit [Ping timeout: 268 seconds]
oskarth has quit [Ping timeout: 268 seconds]
MorTal1ty has joined #ocaml
MorTal1ty is now known as Guest33283
strmpnk has joined #ocaml
oskarth has joined #ocaml
JacobEdelman_ has quit [Ping timeout: 268 seconds]
myst|fon has quit [Ping timeout: 268 seconds]
myst|fon has joined #ocaml
JacobEdelman_ has joined #ocaml
SIGILL has quit [Ping timeout: 268 seconds]
copy` has quit [Ping timeout: 268 seconds]
x77686d has joined #ocaml
mankyKitty has joined #ocaml
cthuluh has quit [Read error: Connection reset by peer]
maker has quit [Ping timeout: 362 seconds]
S11001001 has joined #ocaml
copy` has joined #ocaml
clockish has quit [Ping timeout: 268 seconds]
ggherdov has joined #ocaml
mietek has quit [Read error: Connection reset by peer]
mietek has joined #ocaml
lpaste has quit [Ping timeout: 268 seconds]
Guest33283 has quit [Ping timeout: 268 seconds]
clockish has joined #ocaml
lpaste has joined #ocaml
tennix has quit [Ping timeout: 268 seconds]
Algebr` has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
mcc has quit [Ping timeout: 268 seconds]
oskarth has quit [Read error: Connection reset by peer]
S11001001 has quit [Ping timeout: 268 seconds]
oskarth has joined #ocaml
ggherdov has quit [Read error: Connection reset by peer]
jun has joined #ocaml
S11001001 has joined #ocaml
mcc has joined #ocaml
artart78 has quit [Ping timeout: 276 seconds]
S11001001 has quit [Read error: Connection reset by peer]
mcc has quit [Read error: Connection reset by peer]
artart78 has joined #ocaml
myst|fon has quit [Ping timeout: 268 seconds]
lpaste has quit [Ping timeout: 268 seconds]
myst|fon has joined #ocaml
mcc has joined #ocaml
S11001001 has joined #ocaml
lpaste has joined #ocaml
ggherdov has joined #ocaml
myst|fon has quit [Ping timeout: 268 seconds]
struk|desk2 is now known as struk|desk|away
myst|fon has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
ggherdov has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
struk|desk|away is now known as struk|desk2
tennix has joined #ocaml
strmpnk has quit [Ping timeout: 268 seconds]
Guest33283 has quit [Read error: Connection reset by peer]
mietek has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
mietek has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
strmpnk has joined #ocaml
lpaste has quit [Ping timeout: 268 seconds]
<asdf12z__> has anyone managed to setup atom with merlin ? i'm curious if warnings and errors are suppose to show
<asdf12z__> right now autocomplete works though
FreeBirdLjj has quit [Remote host closed the connection]
SIGILL has joined #ocaml
copy` has quit [Read error: Connection reset by peer]
Guest33283 has joined #ocaml
copy` has joined #ocaml
chenglou has quit [Ping timeout: 268 seconds]
chenglou has joined #ocaml
lpaste has joined #ocaml
iZsh has joined #ocaml
wiredsister has joined #ocaml
strmpnk has quit [Ping timeout: 268 seconds]
strmpnk has joined #ocaml
shinnya has quit [Ping timeout: 276 seconds]
ggherdov has joined #ocaml
oskarth has quit [Ping timeout: 268 seconds]
Algebr` has joined #ocaml
oskarth has joined #ocaml
ggherdov has quit [Ping timeout: 268 seconds]
Algebr` has quit [Ping timeout: 276 seconds]
struk|desk2 is now known as struk|desk
cnu- has quit [Ping timeout: 268 seconds]
cnu- has joined #ocaml
chenglou has quit [Ping timeout: 268 seconds]
chenglou has joined #ocaml
yunxing has joined #ocaml
ggherdov has joined #ocaml
JacobEdelman_ has quit [Quit: Connection closed for inactivity]
mcc has quit [Quit: Connection closed for inactivity]
Guest33283 has quit [Ping timeout: 244 seconds]
myst|fon has quit [Ping timeout: 244 seconds]
Guest33283 has joined #ocaml
cnu- has quit [Ping timeout: 268 seconds]
cnu- has joined #ocaml
ggherdov has quit [Ping timeout: 268 seconds]
myst|fon has joined #ocaml
jeroud has quit [Ping timeout: 268 seconds]
lokien has quit [Ping timeout: 268 seconds]
axiles has joined #ocaml
lokien has joined #ocaml
jeroud has joined #ocaml
oskarth has quit [Ping timeout: 268 seconds]
SIGILL has quit [Ping timeout: 268 seconds]
jun has quit [Ping timeout: 268 seconds]
jun has joined #ocaml
JacobEdelman_ has joined #ocaml
oskarth has joined #ocaml
pierpa has quit [Ping timeout: 264 seconds]
chenglou has quit [Ping timeout: 268 seconds]
chenglou has joined #ocaml
wiredsister has quit [Read error: Connection reset by peer]
wiredsister has joined #ocaml
MercurialAlchemi has joined #ocaml
ggherdov has joined #ocaml
lpaste has quit [Ping timeout: 268 seconds]
SIGILL has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
lpaste has joined #ocaml
Guest33283 has joined #ocaml
slash^ has joined #ocaml
oskarth has quit [Ping timeout: 268 seconds]
oskarth has joined #ocaml
struk|desk is now known as struk|desk|away
adrien_ is now known as adrien
oskarth has quit [Ping timeout: 268 seconds]
Guest33283 has quit [Ping timeout: 268 seconds]
boegel|quassel has quit [Ping timeout: 268 seconds]
boegel has joined #ocaml
oskarth has joined #ocaml
Guest33283 has joined #ocaml
x77686d has quit [Quit: x77686d]
JacobEdelman_ has quit [Ping timeout: 268 seconds]
JacobEdelman_ has joined #ocaml
oskarth has quit [Ping timeout: 268 seconds]
oskarth has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
x77686d has joined #ocaml
x77686d has quit [Remote host closed the connection]
Guest33283 has joined #ocaml
cnu- has quit [Ping timeout: 268 seconds]
cnu- has joined #ocaml
Guest28225 is now known as reynir
lpaste has quit [Ping timeout: 268 seconds]
lpaste has joined #ocaml
Kakadu has joined #ocaml
FreeBirdLjj has joined #ocaml
badon has quit [Ping timeout: 276 seconds]
yunxing has quit [Ping timeout: 268 seconds]
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
oskarth has quit [Ping timeout: 268 seconds]
bbc has joined #ocaml
oskarth has joined #ocaml
shinnya has joined #ocaml
nullcatxxx_ has quit [Ping timeout: 244 seconds]
nullcatxxx_ has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
mehdi__ has quit [Ping timeout: 268 seconds]
deko-pyon has quit [Quit: Stupid WeeChat.]
mehdi_ has joined #ocaml
Guest33283 has joined #ocaml
wiredsister has quit [Ping timeout: 268 seconds]
shinnya has quit [Ping timeout: 244 seconds]
djellemah has joined #ocaml
deko-pyon has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
shinnya has joined #ocaml
oskarth has quit [Ping timeout: 268 seconds]
SIGILL has quit [Ping timeout: 268 seconds]
oskarth has joined #ocaml
badon has joined #ocaml
copy` has quit [Ping timeout: 268 seconds]
copy` has joined #ocaml
bitemyapp has joined #ocaml
malc_ has joined #ocaml
copy` has quit [Ping timeout: 249 seconds]
oskarth has quit [Ping timeout: 268 seconds]
oskarth has joined #ocaml
bitemyapp has quit [Ping timeout: 248 seconds]
strmpnk has quit [Ping timeout: 244 seconds]
Guest33283 has quit [Ping timeout: 268 seconds]
jeroud has quit [Ping timeout: 268 seconds]
JacobEdelman_ has quit [Quit: Connection closed for inactivity]
strmpnk has joined #ocaml
jeroud has joined #ocaml
SIGILL has joined #ocaml
lpaste has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
lpaste has joined #ocaml
mxv has joined #ocaml
ggherdov has quit [Ping timeout: 244 seconds]
ygrek has joined #ocaml
ggherdov has joined #ocaml
tokik has quit [Ping timeout: 244 seconds]
zxqdms_ has quit [Ping timeout: 244 seconds]
TheLemonMan has joined #ocaml
tokik has joined #ocaml
ggherdov has quit [Ping timeout: 268 seconds]
mankyKitty has quit [Ping timeout: 268 seconds]
mankyKitty has joined #ocaml
mankyKitty has quit [Ping timeout: 268 seconds]
ygrek has quit [Ping timeout: 260 seconds]
oskarth has quit [Ping timeout: 268 seconds]
mankyKitty has joined #ocaml
oskarth has joined #ocaml
ggherdov has joined #ocaml
malc_ has left #ocaml ["ERC (IRC client for Emacs 25.0.50.2)"]
oskarth has quit [Ping timeout: 268 seconds]
Intensity has joined #ocaml
oskarth has joined #ocaml
tane has joined #ocaml
nuuit has quit [Ping timeout: 246 seconds]
ggole has joined #ocaml
ggherdov has quit [Ping timeout: 268 seconds]
zxqdms has joined #ocaml
ggole has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
mxv has quit [Ping timeout: 276 seconds]
MercurialAlchemi has quit [Ping timeout: 276 seconds]
Guest33283 has quit [Ping timeout: 244 seconds]
ggherdov has joined #ocaml
Guest33283 has joined #ocaml
SIGILL has quit [Ping timeout: 268 seconds]
ggherdov has quit [Ping timeout: 268 seconds]
larhat has joined #ocaml
lopex has quit [Ping timeout: 244 seconds]
jun has quit [Ping timeout: 268 seconds]
jun has joined #ocaml
silver has joined #ocaml
lopex has joined #ocaml
bacam_ is now known as bacam
Ankhers has quit [Ping timeout: 244 seconds]
ggherdov has joined #ocaml
Ankhers has joined #ocaml
ggherdov has quit [Ping timeout: 268 seconds]
SIGILL has joined #ocaml
lokien has quit [Ping timeout: 268 seconds]
lokien has joined #ocaml
myst|fon has quit [Ping timeout: 244 seconds]
myst|fon has joined #ocaml
stephe has quit [Ping timeout: 260 seconds]
stephe has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
ggherdov has joined #ocaml
Guest33283 has joined #ocaml
chris2 has quit [Ping timeout: 264 seconds]
jun has quit [Ping timeout: 268 seconds]
Anarchos has joined #ocaml
stephe has quit [Ping timeout: 268 seconds]
Haudegen has quit [Ping timeout: 244 seconds]
ggole has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
stephe has joined #ocaml
chris2 has joined #ocaml
<Anarchos> I went too fast in pulling the git repo of ocaml, and now merlin doesn't compile anymore
mxv has joined #ocaml
MercurialAlchemi has joined #ocaml
slash^1 has joined #ocaml
nopf has joined #ocaml
Haudegen has joined #ocaml
butts_butts has joined #ocaml
slash^ has quit [Ping timeout: 268 seconds]
jun has joined #ocaml
chris2 has quit [Ping timeout: 268 seconds]
Guest33283 has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
lpaste has quit [Ping timeout: 268 seconds]
Anarchos has quit [Ping timeout: 268 seconds]
lpaste has joined #ocaml
<larhat> hi, I want to use js_of_ocaml.deriving.ppx to parse/generate json from jsoo, but its output seems stange to me. given type b = A | B, Deriving_Json.to_string b_json A generates string "0", instead of smth like "A". for type r = {sg: string} and {sg="test"} output is [0,"test"]. Is this expected behaviour? If such, is this serialisation intended only for internal purposes, and not for interacting with external code? Output of this test — https://gist.
nopf has quit [Quit: leaving]
Anarchos has joined #ocaml
nopf has joined #ocaml
abbiya has joined #ocaml
mehdi_ has quit [Ping timeout: 268 seconds]
mehdi_ has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
chris2 has joined #ocaml
please_help has quit [Ping timeout: 268 seconds]
please_help has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
Guest33283 has joined #ocaml
nuuit has joined #ocaml
Guest33283 has quit [Ping timeout: 268 seconds]
nuuit has quit [Ping timeout: 248 seconds]
_snhmib has joined #ocaml
truncate has quit [Ping timeout: 264 seconds]
adrien has quit [Ping timeout: 264 seconds]
jimt has quit [Ping timeout: 264 seconds]
lyxia has quit [Ping timeout: 264 seconds]
asm89 has quit [Ping timeout: 264 seconds]
sternenseemann has quit [Ping timeout: 264 seconds]
kandu has quit [Ping timeout: 264 seconds]
nore has quit [Ping timeout: 264 seconds]
pippijn has quit [Ping timeout: 264 seconds]
Lasher` has quit [Ping timeout: 264 seconds]
w1gz has quit [Ping timeout: 264 seconds]
zaquest has quit [Ping timeout: 264 seconds]
jbrown has quit [Ping timeout: 264 seconds]
SHODAN has quit [Ping timeout: 264 seconds]
riveter has quit [Ping timeout: 264 seconds]
asmanur has quit [Ping timeout: 264 seconds]
jmasseo has quit [Ping timeout: 264 seconds]
snhmib has quit [Ping timeout: 264 seconds]
jrslepak has quit [Ping timeout: 264 seconds]
hbar_ has quit [Ping timeout: 264 seconds]
Fleurety has quit [Ping timeout: 264 seconds]
haesbaert has quit [Ping timeout: 264 seconds]
Johann has quit [Ping timeout: 264 seconds]
k1000 has quit [Ping timeout: 264 seconds]
Enjolras has quit [Ping timeout: 264 seconds]
rwmjones has quit [Ping timeout: 264 seconds]
adrien has joined #ocaml
jimt has joined #ocaml
pippijn has joined #ocaml
Lasher` has joined #ocaml
Enjolras has joined #ocaml
nore has joined #ocaml
Guest33283 has joined #ocaml
jmasseo has joined #ocaml
haesbaert has joined #ocaml
k1000 has joined #ocaml
nore is now known as Guest31059
jrslepak has joined #ocaml
stephe has quit [Ping timeout: 244 seconds]
seako has quit [Ping timeout: 260 seconds]
SHODAN has joined #ocaml
mietek has quit [Ping timeout: 260 seconds]
chenglou has quit [Ping timeout: 260 seconds]
seako has joined #ocaml
pootler_ has quit [Ping timeout: 244 seconds]
msch has quit [Ping timeout: 276 seconds]
rwmjones has joined #ocaml
riveter has joined #ocaml
asmanur has joined #ocaml
Fleurety has joined #ocaml
stephe has joined #ocaml
mietek has joined #ocaml
jrslepak has quit [Ping timeout: 268 seconds]
Guest33283 has quit [Ping timeout: 268 seconds]
sternenseemann has joined #ocaml
pootler_ has joined #ocaml
msch has joined #ocaml
chenglou has joined #ocaml
jrslepak has joined #ocaml
Guest33283 has joined #ocaml
lopex_ has joined #ocaml
lopex has quit [Ping timeout: 268 seconds]
lopex_ is now known as lopex
lyxia has joined #ocaml
jbrown has joined #ocaml
kandu has joined #ocaml
kandu is now known as Guest17385
lpaste has quit [Ping timeout: 268 seconds]
w1gz has joined #ocaml
truncate has joined #ocaml
zaquest has joined #ocaml
mehdi_ has quit [Quit: No Ping reply in 180 seconds.]
hbar_ has joined #ocaml
asm89 has joined #ocaml
Guest17385 has quit [Read error: Connection timed out]
Johann has joined #ocaml
mehdi_ has joined #ocaml
pootler_ has quit [Read error: Connection reset by peer]
stephe has quit [Ping timeout: 268 seconds]
myst|fon has quit [Ping timeout: 268 seconds]
lokien has quit [Ping timeout: 268 seconds]
mankyKitty has quit [Ping timeout: 268 seconds]
lopex has quit [Read error: Connection reset by peer]
chenglou has quit [Ping timeout: 268 seconds]
boegel has quit [Remote host closed the connection]
mietek has quit [Ping timeout: 268 seconds]
seako has quit [Ping timeout: 268 seconds]
chris2 has quit [Ping timeout: 268 seconds]
cnu- has quit [Ping timeout: 268 seconds]
SIGILL has quit [Ping timeout: 268 seconds]
chenglou has joined #ocaml
stephe has joined #ocaml
seako has joined #ocaml
lopex has joined #ocaml
chris2 has joined #ocaml
lpaste has joined #ocaml
cnu- has joined #ocaml
SIGILL has joined #ocaml
Guest33283 has quit [Ping timeout: 244 seconds]
boegel has joined #ocaml
myst|fon has joined #ocaml
kandu_ has joined #ocaml
mankyKitty has joined #ocaml
pootler_ has joined #ocaml
mietek has joined #ocaml
jimt has quit [Ping timeout: 244 seconds]
jimt has joined #ocaml
lokien has joined #ocaml
michael_lee has joined #ocaml
Guest33283 has joined #ocaml
pootler_ has quit [Read error: Network is unreachable]
stephe has quit [Read error: Network is unreachable]
pootler_ has joined #ocaml
stephe has joined #ocaml
abbiya has quit [Quit: Leaving]
Anarchos has joined #ocaml
michael_lee has quit [Remote host closed the connection]
lokien has quit [Ping timeout: 268 seconds]
lokien has joined #ocaml
darkf has quit [Quit: Leaving]
Anarchos has quit [Ping timeout: 268 seconds]
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Khady_ is now known as Khady
Guest31059 is now known as nore
nuuit has joined #ocaml
Simn has joined #ocaml
Sim_n has joined #ocaml
butts_butts_ has joined #ocaml
Simn has quit [Ping timeout: 246 seconds]
butts_butts has quit [Ping timeout: 244 seconds]
simn__ has joined #ocaml
Sim_n has quit [Ping timeout: 260 seconds]
butts_butts has joined #ocaml
dmbaturin has quit [Ping timeout: 244 seconds]
cow-orke1 has quit [Ping timeout: 244 seconds]
butts_butts_ has quit [Ping timeout: 244 seconds]
jave_ has quit [Ping timeout: 244 seconds]
dmbaturin has joined #ocaml
cow-orker has joined #ocaml
simn__ has quit [Ping timeout: 268 seconds]
jave has joined #ocaml
mxv has quit [Ping timeout: 248 seconds]
Sorella has joined #ocaml
larhat has quit [Quit: Leaving.]
tennix has quit [Ping timeout: 276 seconds]
Sorella has quit [Ping timeout: 268 seconds]
butts_butts has quit [Ping timeout: 268 seconds]
Sorella has joined #ocaml
Anarchos has joined #ocaml
pootler_ has quit [Ping timeout: 268 seconds]
struk|desk|away is now known as struk|desk
pootler_ has joined #ocaml
copy` has joined #ocaml
cthuluh has joined #ocaml
Nazral has joined #ocaml
maufred has joined #ocaml
jeroud has quit [Ping timeout: 244 seconds]
jeroud has joined #ocaml
JacobEdelman_ has joined #ocaml
chris2 has quit [Quit: trotz alledem!]
atsampson has quit [Quit: Let's see if Linux 4.4.3 has working NFS again...]
atsampson has joined #ocaml
maufred has quit [Quit: Lost terminal]
maufred has joined #ocaml
maufred is now known as ipfix
butts_butts has joined #ocaml
chris2 has joined #ocaml
FreeBird_ has quit [Remote host closed the connection]
mehdi_ is now known as mehdib
mehdib has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mehdi_ has joined #ocaml
mehdi_ is now known as mehdib
ipfix has quit [Quit: Lost terminal]
maufred has joined #ocaml
maufred is now known as ipfix
Anarchos has quit [Ping timeout: 260 seconds]
ipfix is now known as maufred
k1000 has quit [Ping timeout: 244 seconds]
k1000 has joined #ocaml
ggole has quit [Ping timeout: 244 seconds]
groovy2shoes has quit [Quit: Leaving]
struk|desk is now known as struk|desk|away
ggole has joined #ocaml
foolishmonkey has joined #ocaml
mxv has joined #ocaml
keep_learning has joined #ocaml
struk|desk|away is now known as struk|desk
larhat has joined #ocaml
alexst has joined #ocaml
pierpa` has joined #ocaml
JacobEdelman_ has quit [Quit: Connection closed for inactivity]
ygrek has joined #ocaml
<orbitz> If I'm making a somethign like a networking lirbary or file i/o library, is it in my best interest to use Bigstring everywhere?
<orbitz> It seems like usign bytes is pretty hairy when it comes to bindings.
Haudegen has quit [Ping timeout: 276 seconds]
<mrvn> if you use bytes then you have to copy to/from internal buffers all the time.
butts_butts has quit [Ping timeout: 268 seconds]
<orbitz> mrvn: Intenrally, usign BigString seems less awkward, but I'm not sure if it's mroe awkward externally.
<orbitz> I guess the uspide to using BigString internally is that it lets the user decide if they want to pay the price of copying back and or not
struk|desk is now known as struk|desk|away
<orbitz> I'm sorry, I mean Bigarray
struk|desk|away is now known as struk|desk
cojy has joined #ocaml
<cojy> how far back in versions and what flags do i need to get an ocaml with labltk?
<orbitz> cojy: do you need it packed with the compiler? You can install it with opam
fraggle_ has joined #ocaml
<cojy> yes i do for a legacy library that would be far too much trouble tto update the build script of
ousado_ has quit [Ping timeout: 260 seconds]
<orbitz> cojy: the release notes will tell you when it was ripped out
<orbitz> cojy: I'm confused though, if you install it via opam, what need sto be updated in the build script?
<cojy> i dont know i just still get errors that its not there
mxv has quit [Ping timeout: 276 seconds]
ousado_ has joined #ocaml
malc_ has joined #ocaml
<adrien> cojy: it shouldn't change anything
<adrien> can you show the command that errors out?
<mrvn> How do I write a virtual class that has a method returning 'a Proxy.t, where 'a is the eventual class implementing the interface? class virtual qObject' = object method virtual proxy : 'a. (#qObject' as 'a) Proxy.t end
<cojy> ocamlc -I +labltk labltk.cma -pp "camlp4o" -c cotes.ml , Error: Unbound module Tk
<Drup> Using ocamlfind is not acceptable ?
slash^1 has left #ocaml [#ocaml]
Haudegen has joined #ocaml
<adrien> cojy: what's the software? is its source available somewhere?
<cojy> 2.2
<cojy> it works now with an older ocaml
<adrien> so, you can ...
<Drup> cojy: it looks like there is a more recent version, you don't want to use that ?
<adrien> I think you can replace +labltk in the Makefile with "$(shell ocamlfind query labltk)" [ note the quotes ]
siriusbtx has joined #ocaml
copy` has quit [Ping timeout: 260 seconds]
copy` has joined #ocaml
Maxow234 has joined #ocaml
<Maxow234> Hey, I am using camllight and need help for a very short part of a function. I defined a sum type with « type myType = A of int list | B of int list ;;» and have a function which takes two arguments of type MyType, how can I check if I have two types A or two type B for instance ?
struk|desk is now known as struk|desk|away
<Drup> Maxow234: I'm going to answer in OCaml, because I'm far too lazy to check camllight's syntax
<Maxow234> Sure !
<Drup> let f x1 x2 = match x1,x2 with | (A l), (A l2) -> ... | ...
<Drup> basically, you match on the pair
<Maxow234> Oh, I wasn’t aware it was possible, thank you very much
struk|desk|away is now known as struk|desk
<Maxow234> err, I have an error on this line : let union p q = match p , q with saying that p is of type int list but is used as type myType
<mrvn> best to always write tuples as (x1, x2)
<Maxow234> Still doesn’t works
<mrvn> obviously. That just makes it more readable.
<Maxow234> I guess so
<Drup> Maxow234: you have to show the whole code that causes the error
<siriusbtx> (ocaml noob here) Does ocaml have something like haskell's guard patterns?
<Drup> yes
<Drup> | A x when p x -> ..
<siriusbtx> Drup: is that without using match?
<Drup> siriusbtx: It's with a match
<Drup> Maxow234: The issue is that when you return q, you return the list inside Finie, while when you return p, you return the ficof
<Maxow234> I know it is different but I don’t understand how can I tell which one to use / return (not the first time I am having this issue)
<Maxow234> Or should I just add « Finie q » instead of « q » ?
<Drup> That would solve it
<siriusbtx> Drup: So I can write this using a match? https://bpaste.net/show/821c2a219081
octachron has joined #ocaml
<Drup> Yes, it's not going to be much prettier, though
<Maxow234> Yep it did thank you. Can you explain to me what the difference was between my two lines of code ?
<siriusbtx> Drup: thats what I thought
<siriusbtx> Drup: is there a better way of doing it?
<Drup> Maxow234: you shadow the old q with the q inside the pattern
<Drup> siriusbtx: I think it's fine
<siriusbtx> Drup: is it a bad style to align the 'else if' like I did?
<Maxow234> I feel like a complete derp but I am not sure I understand what you mean , by writing « | Finie q -> … » I say to caml « This is a Finie with the list q inside » while when I say « _ -> q » I say « return the object q, which occurs to be a Finie » ?
<Drup> Yes
<Drup> and l ≠ Finie l
<mrvn> write "Finie q" as "Finie q2"
<Drup> you can't use one for the others, they don't have the same tyme.
<Drup> type*
<Maxow234> In Finie q , q is a list while in q , q is a Finie , is that right ?
<Drup> Maxow234: just name them differently, and save you a headache ;)
<Maxow234> ^^ I will , thank you again :)
foolishmonkey has quit [Quit: Leaving]
alexst has quit [Ping timeout: 248 seconds]
alexst has joined #ocaml
foolishmonkey has joined #ocaml
gustav___ has quit [Ping timeout: 276 seconds]
gustav___ has joined #ocaml
struk|desk is now known as struk|desk|away
<Maxow234> I think I am getting crazy, https://bpaste.net/show/d022019bbd5d camllight tells my « this expression is of type int list but is used with type myType »
ggole has quit []
<Maxow234> filter_1 takes a bool function and a list of ints ; funct_1 takes an int and a list of ints
<pierpa`> the message applies to the whole line?
<lyxia> Maxow234: what are the types? and what is the location of the error?
<Maxow234> To the second « a »
<Maxow234> https://bpaste.net/show/48f9ba8b5efa the complete function
<pierpa`> belongsto?
<Maxow234> I’m a dumbass, this function expects a type fico
<mrvn> Maxow234: sometimes it helps to annotate variables with the type you expect them to have to narrow down where you are wrong.
<Maxow234> Okay, it is the first time I use a strongly typed language, I need to be more careful about things like that
<mrvn> Maxow234: In ocaml you write code, then you spend an hour fixing the type errors and then it works. In other languages you write your code, compile and spend 2 hours fixing why it doesn't work.
pierpa` is now known as pierpa
<Maxow234> When my code works I really enjoy Caml but when it doesn’t it find the syntax super infuriating
<mrvn> have you used classes yet?
<Maxow234> (it is probably better with ocaml but in camllight the compiler gives you no useful informations at all about your error, most of the time at least)
<Maxow234> I am using camllight mrvn
<mrvn> urgs
<pierpa> (it is no better in Ocaml)
<Drup> pierpa: actually ...
<Drup> I would rather say it's worse in camllight
<pierpa> impossible
martintrojer has quit [Ping timeout: 260 seconds]
<Maxow234> In my country only camllight is taught
<Maxow234> (as a semi-required subject in higher education at least)
<pierpa> wow
<pierpa> that's great
<Drup> Maxow234: you are in prepa/france, right ?
<Maxow234> Yup ^^
<Drup> Then it is taught
<Drup> just not in intro programming in prepa
martintrojer has joined #ocaml
<Drup> But using ocaml instead of camllight is easy anyway
<Maxow234> Until a few years ago students had to learn Pascal and mapple
<Drup> Not really
<Maxow234> Oh ? That what I was told
<Drup> unless "few years" = 20+ years
<Maxow234> Maybe ^^
<Drup> (True about mapple, though)
<Drup> Each prepa has the choice to teach pascal or camllight
<octachron> up to quite recently, the choice was between pascal and caml light
<Drup> most use camllight
<Drup> octachron: it's still the case for computer science
<octachron> if I am not mistaken, camllight has become the only option few years ago
<Maxow234> Is this channel full of french ex prépa students ? :)
<Drup> Maxow234: Let's say a significant part :D
<Maxow234> Last year only camllight was allowed at the X : http://www.sujets-de-concours.net/sujets/xens/2015/mp/info_option.pdf
<Drup> Oh, finally
larhat has quit [Quit: Leaving.]
mfp has joined #ocaml
<Maxow234> I have to go, thanks again for you help :)
sh0t has joined #ocaml
butts_butts has joined #ocaml
sh0t has quit [Client Quit]
octachron has quit [Ping timeout: 260 seconds]
mettekou has joined #ocaml
keep_learning has quit [Quit: This computer has gone to sleep]
yunxing has joined #ocaml
Anarchos has joined #ocaml
maufred_ has joined #ocaml
maufred_ has quit [Client Quit]
octachron has joined #ocaml
alexst has quit [Quit: Lost terminal]
Shozan has joined #ocaml
maufred has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 248 seconds]
djellemah has quit [Ping timeout: 248 seconds]
SHODAN has quit [Ping timeout: 248 seconds]
djellemah has joined #ocaml
ygrek has joined #ocaml
ldg has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
octachron has quit [Quit: Leaving]
MercurialAlchemi has quit [Ping timeout: 276 seconds]
zoobab has quit [Ping timeout: 260 seconds]
yunxing has quit [Remote host closed the connection]
yunxing has joined #ocaml
zoobab has joined #ocaml
spion has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 268 seconds]
fraggle_ has joined #ocaml
<Drup> mfp: yeah, send a bug to mantis
<mfp> Drup: mantis, not github?
<Drup> the bug tracker is still mantis, github is for PR only
<mfp> ok
<mfp> Drup: should Lwt_preemptive switch to using a single condition variable, rather than wait for a fix in Event.sync?
<Drup> I don't have the competence to answer that
lobo has joined #ocaml
<mfp> it comes down to "wait a few years for the upstream fix or not?" I suppose :-))
<Drup> Well, not if you send a PR
<Drup> You do have the competence for that :D
<pierpa> int_of_float being unspecified for out of range floats is a design bug
<mfp> yes, I'm probably fixing this anyway (was going to write it for ocaml-sqlexpr)
<mfp> Drup: but then I have an interesting "problem": wait down for the fix to trickle down (OCaml -> Lwt -> ocaml-sqlexpr) or shortcut it
mettekou has quit [Ping timeout: 276 seconds]
<Drup> is it possible to fix it easily at the lwt level ?
<mfp> i.e. fixing in OCaml AND working around in Lwt AND working around in ocaml-sqlexpr would fix the issue even with older versions of the dep
<mfp> Drup: I think so
<mfp> doing it also in ocaml-sqlexpr is likely too much, but I can see the gain in getting the perf issue solved at the Lwt level without having to switch to a newer OCaml
siriusbtx has quit [Quit: Leaving.]
<mfp> Drup: in fact, it seems to me much easier to fix at the Lwt level than to revamp Event's first-class sync communication
<Drup> then please do so
cdidd has quit [Remote host closed the connection]
<mfp> k, filing the bug first so that I don't forget and then on to it
<fds> pierpa: Yes, unspecified behaviour isn't very MLish. :-(
<mfp> uh I don't know if I have forgotten my password, my username or if I have ever had an account to begin with
<mfp> Drup: severity minor, priority normal?
tane has quit [Quit: Verlassend]
Maxow234 has quit [Quit: Maxow234]
butts_butts has quit [Ping timeout: 268 seconds]
_snhmib is now known as snhmib
cdidd has joined #ocaml
struk|desk|away is now known as struk|desk
narendasan has joined #ocaml
hunteriam has joined #ocaml
sillyotter has joined #ocaml
maker has joined #ocaml
sillyotter has quit [Quit: leaving]
tropico has joined #ocaml
struk|desk is now known as struk|desk|away
Reshi has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
yunxing has quit [Remote host closed the connection]
yunxing has joined #ocaml