gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 276 seconds]
ulfdoz_ is now known as ulfdoz
arubin has joined #ocaml
<thelema> _habnabit: something like [> ]?
arubin has quit [Client Quit]
<_habnabit> yeah, I tried that and got: "Error: A type variable is unbound in this type declaration. In type [> ] as 'a the variable 'a is unbound"
arubin has joined #ocaml
ftrvxmtrx has joined #ocaml
lamawithonel has joined #ocaml
jimmyrcom has quit [Ping timeout: 260 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
mdelaney has joined #ocaml
Qrntzz has quit [Ping timeout: 252 seconds]
sebz has joined #ocaml
Eataix has joined #ocaml
Eataix has quit [Ping timeout: 240 seconds]
sebz has quit [Ping timeout: 252 seconds]
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
zorun has quit [Ping timeout: 240 seconds]
<adrien> _habnabit: why "any polymorphic variant" rather than "anything" / _ ?
<_habnabit> adrien, just curious, really.
<adrien> well, if you want to do something with the argument later on, it won't be "any" polymorphic variant anymore
dnolen has quit [Quit: dnolen]
edwin has joined #ocaml
ygrek has joined #ocaml
Snark_ has joined #ocaml
Snark_ is now known as Snark
Derander_ has quit [Ping timeout: 264 seconds]
asmanur_ has joined #ocaml
Derander has joined #ocaml
asmanur has quit [Ping timeout: 246 seconds]
Derander has quit [Ping timeout: 260 seconds]
zorun has joined #ocaml
Derander has joined #ocaml
sebz has joined #ocaml
sebz has quit [Client Quit]
sebz has joined #ocaml
Eataix has joined #ocaml
Eataix has quit [Remote host closed the connection]
Eataix has joined #ocaml
Eataix has left #ocaml []
Derander has quit [Ping timeout: 260 seconds]
sebz_ has joined #ocaml
sebz has quit [Ping timeout: 245 seconds]
sebz_ is now known as sebz
lopex has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
Derander has joined #ocaml
sebz has joined #ocaml
Derander has quit [Ping timeout: 260 seconds]
Derander has joined #ocaml
ulfdoz has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
ikaros has joined #ocaml
lopex has quit []
Derander has quit [Read error: Connection reset by peer]
Qrntzz has joined #ocaml
Associat0r has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
Associat0r has quit [Quit: Associat0r]
BiDOrD has quit [Read error: Operation timed out]
BiDOrD has joined #ocaml
Snark has quit [*.net *.split]
Snark has joined #ocaml
blinky- has joined #ocaml
jimmyrcom has joined #ocaml
kelaouchi has joined #ocaml
kelaouchi_ has joined #ocaml
kelaouchi has quit [Ping timeout: 264 seconds]
kelaouchi_ has quit [Client Quit]
kelaouchi has joined #ocaml
mdelaney has quit [Read error: Connection reset by peer]
mdelaney_ has joined #ocaml
kelaouchi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
ulfdoz has quit [Quit: kernel-upgrade]
ulfdoz has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
lamawithonel_ has joined #ocaml
alpounet has quit [Quit: Bye.]
lamawithonel has quit [Ping timeout: 245 seconds]
alpounet has joined #ocaml
lamawithonel__ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 245 seconds]
lamawithonel has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel__ has quit [Ping timeout: 245 seconds]
lamawithonel has quit [Ping timeout: 245 seconds]
oriba has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
oriba has quit [Quit: oriba]
ousado has joined #ocaml
<ousado> hi all, I new to ocaml, and I'm modifying existing code. after I made some changes, I get a "Parse error: "in" expected after [binding] (in [expr])". The problem is that the line number mentioned seems to indicate the position where the compiler is finally sure something is wrong, but not the position of that (let ?) binding it wants to see an "in" after.
<ousado> how would I go about tracking that down?
<zorun> hehe, discovering the scourge of tracking down ocaml's syntax errors :)
<zorun> can you paste the code?
<ousado> hm.. it says "Preprocessor error", not parse error
<thelema> ousado: where's the last "let"
<ousado> I could, but it's the sources of the haXe compiler
<thelema> ousado: if you're using the preprocessor camlp4, it has to do a full parse of your code
<raphael-p> ousado: paste your modified code somewhere on the web
<zorun> "Preprocessor error"?
<zorun> oh, ok
<ousado> yes, I'll paste the error first
<zorun> haXe is not free?
<ousado> it is
<ousado> if you mean open source
<zorun> no, I mean whether it's a free software :)
* raphael-p is building utop thanks to zorun and metasyntax packaging
<ousado> for which definition of free?
<zorun> raphael-p: :)
<zorun> raphael-p: you'll have to rebuild the whole ocaml package
<zorun> ousado: when you use "free" and "software" side-by-side, you usually refer to a GPL-licensed software
<zorun> or a similar license
<ousado> this is the rror: http://ocaml.nopaste.dk/p3831
<ousado> *error
<ousado> ahm, not sure, yes, I think it's GPL
<ousado> I mean I'm allowed to paste it, I'm just not sure if that would help, it's about 900 lines
<ousado> and about 700 of them might be relevant
<zorun> is that code you modified? or are you just trying to compile it?
<ousado> I modified it
<ousado> I'm creating a new target for the compiler, to learn ocaml
<ousado> yes, I scrolled up.. it's GPL
<ousado> ;)
<zorun> yeah yeah, it's ok, I only thought you wouldn't paste the code because of a restrictive license ;)
<thelema> ousado: paste it.
<raphael-p> ousado: paste your code
sebz has quit [Quit: Computer has gone to sleep.]
<ousado> there you go: http://nopaste.dk/p3832
dnolen has joined #ocaml
<zorun> raphael-p: if you want to help, you can vote for the integration of the compiler libs in the "ocaml" package ;)
sebz has joined #ocaml
<thelema> ousado: the error is on line 711
<ousado> ok..
<ousado> should it be obvious why? ;)
arubin has quit [Quit: arubin]
<zorun> the extra ';', I guess
<zorun> but thelema has accurate eyes :)
<thelema> I"ve had way too much fun making these errors and finding them myself.
<thelema> If I could change the ocaml grammar, this'd be one of the first things I'd fix.
<ousado> thatnks.. it compiles
<ousado> thanks
<ousado> after moving thesemicolon up to the newline ctx
Anarchos has joined #ocaml
<thelema> "If all you have is locks, use them to build multiple-reader, multiple-writer finite queues. " <- on batteries' todo
BiDOrD has quit [Read error: Operation timed out]
BiDOrD has joined #ocaml
BiDOrD has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
bzzbzz has quit [Quit: leaving]
lopex has joined #ocaml
edwin has quit [Remote host closed the connection]
lopexx has joined #ocaml
lopex has quit [Ping timeout: 258 seconds]
lopex has joined #ocaml
lopexx has quit [Ping timeout: 246 seconds]
lopex has quit [Client Quit]
lopex has joined #ocaml
junsuijin has joined #ocaml
blinky- has quit [Quit: Quitte]
fraggle_ has quit [Ping timeout: 268 seconds]
ygrek has quit [Quit: Leaving]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
arubin has joined #ocaml
Cyanure has joined #ocaml
cthuluh has quit [Ping timeout: 252 seconds]
cthuluh has joined #ocaml
cthuluh has quit [Client Quit]
fraggle_ has joined #ocaml
Cyanure has quit [Remote host closed the connection]
Morphous has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Quit: Leaving]
Morphous has joined #ocaml
ftrvxmtrx has joined #ocaml
lopex has quit []
ikaros has quit [Quit: Ex-Chat]