ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.00.1 http://bit.ly/UHeZyT | http://www.ocaml-lang.org
julm has quit [Ping timeout: 272 seconds]
tbrady has joined #ocaml
tac-tics has quit [Ping timeout: 245 seconds]
avsm has quit [Quit: Leaving.]
tac-tics has joined #ocaml
julm has joined #ocaml
ben_zen has quit [Quit: leaving]
fraggle_ has quit [Remote host closed the connection]
tac has quit [Ping timeout: 245 seconds]
tac has joined #ocaml
bobry has quit [Read error: Connection reset by peer]
lopex has quit [Remote host closed the connection]
joewilliams has quit [Remote host closed the connection]
tac-tics has quit [Ping timeout: 245 seconds]
tac has quit [Ping timeout: 245 seconds]
tbrady has quit [Quit: Leaving.]
lopex has joined #ocaml
ben_zen has joined #ocaml
jamii has quit [Read error: Connection reset by peer]
fraggle_ has joined #ocaml
madroach has joined #ocaml
joewilliams has joined #ocaml
wtetzner has joined #ocaml
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
gnuvince has quit [Ping timeout: 244 seconds]
gnuvince has joined #ocaml
tac has joined #ocaml
mjonsson has quit [Remote host closed the connection]
abeaulieu has quit [Ping timeout: 240 seconds]
abeaulieu has joined #ocaml
hnrgrgr has quit [Ping timeout: 248 seconds]
hnrgrgr has joined #ocaml
Snark has joined #ocaml
<pippijn> now I want dependent types
<pippijn> I want this: http://paste.xinu.at/jRfR/
<pippijn> instead, I now have 3 functions
<pippijn> ah, I think I can do without
<adrien> =)
<pippijn> nice nice
<pippijn> val get : 'variant -> 'semantic variants -> ('variant, 'semantic) variant
<pippijn> I hope I can implement it, too
<pippijn> hmm
<pippijn> I guess I can't
<pippijn> I can express the type I want, but not the code
<pippijn> any ideas?
tufisi has joined #ocaml
Vinnipeg has joined #ocaml
Cyanure has joined #ocaml
<pippijn> I guess that really needs dependent types
<pippijn> because the return type depends on a value
<pippijn> but I somehow wish it can still be possible, because that value has a defined type
Submarine has quit [Ping timeout: 244 seconds]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
tufisi has quit [Ping timeout: 244 seconds]
Submarine has quit [Client Quit]
flux has quit [Ping timeout: 245 seconds]
answer_42 has joined #ocaml
tac has quit [Ping timeout: 245 seconds]
Cyanure has quit [Quit: Quitte]
flux has joined #ocaml
tufisi has joined #ocaml
cago has joined #ocaml
mcclurmc_away is now known as mcclurmc
ontologiae has joined #ocaml
djcoin has joined #ocaml
pango is now known as pangoafk
Neros has quit [Ping timeout: 276 seconds]
leoncamel has joined #ocaml
GnomeStoleMyBike has joined #ocaml
Xizor has joined #ocaml
Neros has joined #ocaml
Yoric has quit [Quit: Instantbird 1.3a1pre -- http://www.instantbird.com]
Yoric has joined #ocaml
Progster has joined #ocaml
Progster has quit [Ping timeout: 240 seconds]
Neros_ has joined #ocaml
Neros has quit [Ping timeout: 260 seconds]
sepp2k has joined #ocaml
sivoais has quit [Quit: Lost terminal]
Yoric has quit [Ping timeout: 240 seconds]
Yoric has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
_andre has joined #ocaml
Neros_ has quit [Ping timeout: 245 seconds]
Vinnipeg has quit [Quit: Leaving.]
Vinnipeg has joined #ocaml
Vinnipeg has quit [Client Quit]
Neros has joined #ocaml
Neros has quit [Client Quit]
Neros has joined #ocaml
Neros_ has joined #ocaml
Neros has quit [Ping timeout: 260 seconds]
Neros has joined #ocaml
Neros_ has quit [Ping timeout: 255 seconds]
sivoais has joined #ocaml
Neros_ has joined #ocaml
Neros has quit [Ping timeout: 260 seconds]
UncleVasya has joined #ocaml
answer_42 has quit [Ping timeout: 276 seconds]
UncleVasya has quit [Quit: UncleVasya]
gnuvince has quit [Ping timeout: 245 seconds]
Neros_ has quit [Ping timeout: 260 seconds]
chambart has joined #ocaml
abasdfasdfasdf has joined #ocaml
abasdfasdfasdf has quit [Client Quit]
<hcarty> pippijn: What error do you get with your pastebin'd code?
<hcarty> pippijn: It works on 4.00.1 (where works = I can paste it into the toplevel without getting type errors)
answer_42 has joined #ocaml
Neros has joined #ocaml
tbrady has joined #ocaml
<pippijn> hcarty: add a .mli with val get : variant_kind -> 'semantic variants -> (variant_kind, 'semantic) variant
<pippijn> it won't fit in
<pippijn> wait, that will
<pippijn> change variant_kind for 'variant
<pippijn> but of course it can't work
<pippijn> because 'variant could be int
<pippijn> or anything
smondet has joined #ocaml
chambart has quit [Read error: Connection reset by peer]
Guest46294 is now known as patronus
patronus is now known as Guest19575
chambart has joined #ocaml
<hcarty> pippijn: Wouldn't that still work?
<pippijn> hcarty: I have a tuple of 3 variants
<pippijn> hcarty: I want to return one of them depending on which variant_kind is passed
<pippijn> hcarty: and I want the type to reflect that the returned variant is the requested one
<pippijn> hcarty: that requires dependent types
<mehdid> can't you acheive part of that using GADTs?
<pippijn> maybe
<pippijn> but I don't have GADTs yet
<mehdid> ok
Guest19575 is now known as patronus_
tane has joined #ocaml
gnuvince has joined #ocaml
ocp has joined #ocaml
tac has joined #ocaml
cdidd has quit [Remote host closed the connection]
jamii has joined #ocaml
pangoafk is now known as pango
Cyanure has joined #ocaml
cago has quit [Quit: Leaving.]
Neros_ has joined #ocaml
Neros has quit [Ping timeout: 244 seconds]
jamii has quit [Ping timeout: 244 seconds]
Neros has joined #ocaml
Neros_ has quit [Ping timeout: 248 seconds]
tac is now known as tac-tics
leoncamel has quit [Remote host closed the connection]
ker2x has quit [Quit: hop]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
trotro has joined #ocaml
jamii has joined #ocaml
avsm has joined #ocaml
GnomeStoleMyBike has quit [Ping timeout: 265 seconds]
<pippijn> I would like ocamlc to warn if an "open" is useless
<thelema_> pippijn: it can.
<thelema_> as of 4.00
gnuvince has quit [Ping timeout: 255 seconds]
<thelema_> warning 33: Unused open statement.
<pippijn> nice
tbrady has quit [Quit: Leaving.]
tbrady has joined #ocaml
tani has joined #ocaml
gnuvince has joined #ocaml
tane has quit [Ping timeout: 264 seconds]
mcclurmc is now known as mcclurmc_away
chambart has quit [Read error: Operation timed out]
Yoric has joined #ocaml
tbrady has quit [Quit: Leaving.]
tbrady has joined #ocaml
fraggle_laptop has quit [Remote host closed the connection]
xavierm02 has joined #ocaml
GnomeStoleMyBike has joined #ocaml
sepp2k has quit [Read error: Connection reset by peer]
sepp2k has joined #ocaml
arneis has joined #ocaml
ocp has quit [Quit: Leaving.]
tbrady has quit [Quit: Leaving.]
tbrady has joined #ocaml
<_habnabit> is BatRandom automatically seeded?
<_habnabit> oh, yes, it is
smondet has quit [Ping timeout: 245 seconds]
<thelema_> If you want a manual seed, there's a submodule for that (iirc)
<_habnabit> yeah, BatRandom.State
<_habnabit> looks like I'll have to use that
answer_42 has quit [Ping timeout: 276 seconds]
answer_42 has joined #ocaml
metadave has quit [Remote host closed the connection]
tani has quit [Remote host closed the connection]
Neros has quit [Remote host closed the connection]
Neros has joined #ocaml
Neros has quit [Read error: Connection reset by peer]
Neros has joined #ocaml
Neros has quit [Read error: Connection reset by peer]
Neros has joined #ocaml
ontologiae has quit [Ping timeout: 260 seconds]
_andre has quit [Quit: leaving]
emmanuelux has joined #ocaml
mnabil has joined #ocaml
BiDOrD_ has joined #ocaml
tane has joined #ocaml
BiDOrD has quit [Ping timeout: 244 seconds]
gnuvince has quit [Ping timeout: 260 seconds]
jave has quit [Read error: Connection reset by peer]
ulfdoz has joined #ocaml
jave has joined #ocaml
ChristianS has left #ocaml []
ulfdoz has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
jamii has quit [Ping timeout: 268 seconds]
gnuvince has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
avsm has quit [Quit: Leaving.]
Xizor has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
tbrady has quit [Quit: Leaving.]
<arneis> anyone using Typerex?
ulfdoz has quit [Ping timeout: 240 seconds]
tbrady has joined #ocaml
fusillia has joined #ocaml
Snark has quit [Quit: Quitte]
smondet has joined #ocaml
Jeaye has quit [Ping timeout: 276 seconds]
Jeaye has joined #ocaml
mnabil has quit [Ping timeout: 252 seconds]
answer_42 has quit [Ping timeout: 276 seconds]
Yoric has quit [Ping timeout: 245 seconds]
Submarine has quit [Read error: Operation timed out]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
Submarine has quit [Remote host closed the connection]
enzo has joined #ocaml
enzo has quit [Remote host closed the connection]
mathieui has quit [Quit: server reboot]
Yoric has joined #ocaml
mathieui has joined #ocaml
xaimus has quit [Quit: Lost terminal]
xaimus has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
tufisi has quit [Ping timeout: 252 seconds]
smondet has quit [Ping timeout: 255 seconds]
mjonsson has joined #ocaml
sepp2k has quit [Remote host closed the connection]
gnuvince has quit [Ping timeout: 268 seconds]
avsm has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
GnomeStoleMyBike has quit [Ping timeout: 260 seconds]
cdidd has joined #ocaml
arneis has quit [Ping timeout: 245 seconds]
Cyanure has quit [Ping timeout: 252 seconds]
djcoin has quit [Quit: WeeChat 0.3.9]
ansx_ has quit [Ping timeout: 256 seconds]
tbrady has quit [Quit: Leaving.]
tac-tics has quit []
Cyanure has joined #ocaml
ansx has joined #ocaml
ansx has quit [Ping timeout: 244 seconds]
fusillia has quit [Remote host closed the connection]
ansx has joined #ocaml
ansx_ has joined #ocaml
ansx has quit [Ping timeout: 252 seconds]
xavierm02 has quit [Quit: Leaving]
hcarty__ has joined #ocaml
hcarty__ has quit [Client Quit]