00:04
ulfdoz_ has joined #ocaml
00:08
ulfdoz has quit [Ping timeout: 276 seconds]
00:08
ulfdoz_ is now known as ulfdoz
00:10
arubin has joined #ocaml
00:10
<
thelema >
_habnabit: something like [> ]?
00:10
arubin has quit [Client Quit]
00:11
<
_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"
00:11
arubin has joined #ocaml
00:12
ftrvxmtrx has joined #ocaml
00:56
lamawithonel has joined #ocaml
01:27
jimmyrcom has quit [Ping timeout: 260 seconds]
01:38
sebz has quit [Quit: Computer has gone to sleep.]
01:42
mdelaney has joined #ocaml
02:03
Qrntzz has quit [Ping timeout: 252 seconds]
02:11
sebz has joined #ocaml
02:51
Eataix has joined #ocaml
02:57
Eataix has quit [Ping timeout: 240 seconds]
03:35
sebz has quit [Ping timeout: 252 seconds]
03:36
sebz has joined #ocaml
04:09
sebz has quit [Quit: Computer has gone to sleep.]
04:44
zorun has quit [Ping timeout: 240 seconds]
04:48
<
adrien >
_habnabit: why "any polymorphic variant" rather than "anything" / _ ?
04:49
<
_habnabit >
adrien, just curious, really.
04:51
<
adrien >
well, if you want to do something with the argument later on, it won't be "any" polymorphic variant anymore
05:52
dnolen has quit [Quit: dnolen]
06:16
edwin has joined #ocaml
06:28
ygrek has joined #ocaml
06:28
Snark_ has joined #ocaml
06:32
Snark_ is now known as Snark
06:36
Derander_ has quit [Ping timeout: 264 seconds]
07:01
asmanur_ has joined #ocaml
07:02
Derander has joined #ocaml
07:03
asmanur has quit [Ping timeout: 246 seconds]
07:07
Derander has quit [Ping timeout: 260 seconds]
07:11
zorun has joined #ocaml
07:16
Derander has joined #ocaml
07:24
sebz has joined #ocaml
07:28
sebz has quit [Client Quit]
07:30
sebz has joined #ocaml
07:45
Eataix has joined #ocaml
07:45
Eataix has quit [Remote host closed the connection]
07:45
Eataix has joined #ocaml
07:50
Eataix has left #ocaml []
08:10
Derander has quit [Ping timeout: 260 seconds]
08:13
sebz_ has joined #ocaml
08:14
sebz has quit [Ping timeout: 245 seconds]
08:14
sebz_ is now known as sebz
08:24
lopex has joined #ocaml
08:25
sebz has quit [Quit: Computer has gone to sleep.]
08:27
Derander has joined #ocaml
08:32
sebz has joined #ocaml
08:37
Derander has quit [Ping timeout: 260 seconds]
08:49
Derander has joined #ocaml
09:14
ulfdoz has quit [Remote host closed the connection]
09:15
ulfdoz has joined #ocaml
09:18
ikaros has joined #ocaml
09:59
Derander has quit [Read error: Connection reset by peer]
10:24
Qrntzz has joined #ocaml
10:44
Associat0r has joined #ocaml
10:52
sebz has quit [Quit: Computer has gone to sleep.]
10:53
sebz has joined #ocaml
11:00
Associat0r has quit [Quit: Associat0r]
11:13
BiDOrD has quit [Read error: Operation timed out]
11:13
BiDOrD has joined #ocaml
11:29
Snark has quit [*.net *.split]
11:29
Snark has joined #ocaml
11:43
blinky- has joined #ocaml
11:48
jimmyrcom has joined #ocaml
11:50
kelaouchi has joined #ocaml
11:55
kelaouchi_ has joined #ocaml
11:58
kelaouchi has quit [Ping timeout: 264 seconds]
11:59
kelaouchi_ has quit [Client Quit]
12:00
kelaouchi has joined #ocaml
12:20
mdelaney has quit [Read error: Connection reset by peer]
12:20
mdelaney_ has joined #ocaml
12:29
ulfdoz has quit [Quit: kernel-upgrade]
12:53
ulfdoz has joined #ocaml
13:01
avsm has joined #ocaml
13:01
avsm has quit [Client Quit]
13:41
lamawithonel_ has joined #ocaml
13:44
alpounet has quit [Quit: Bye.]
13:44
lamawithonel has quit [Ping timeout: 245 seconds]
13:45
alpounet has joined #ocaml
13:46
lamawithonel__ has joined #ocaml
13:46
lamawithonel_ has quit [Ping timeout: 245 seconds]
13:52
lamawithonel has joined #ocaml
13:54
lamawithonel_ has joined #ocaml
13:54
lamawithonel__ has quit [Ping timeout: 245 seconds]
13:56
lamawithonel has quit [Ping timeout: 245 seconds]
14:14
oriba has joined #ocaml
14:31
sebz has quit [Quit: Computer has gone to sleep.]
14:44
sebz has joined #ocaml
15:08
sebz has quit [Quit: Computer has gone to sleep.]
15:21
sebz has joined #ocaml
15:42
oriba has quit [Quit: oriba]
15:45
ousado has joined #ocaml
15:52
<
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.
15:52
<
ousado >
how would I go about tracking that down?
15:53
<
zorun >
hehe, discovering the scourge of tracking down ocaml's syntax errors :)
15:53
<
zorun >
can you paste the code?
15:54
<
ousado >
hm.. it says "Preprocessor error", not parse error
15:54
<
thelema >
ousado: where's the last "let"
15:54
<
ousado >
I could, but it's the sources of the haXe compiler
15:54
<
thelema >
ousado: if you're using the preprocessor camlp4, it has to do a full parse of your code
15:54
<
raphael-p >
ousado: paste your modified code somewhere on the web
15:54
<
zorun >
"Preprocessor error"?
15:55
<
ousado >
yes, I'll paste the error first
15:55
<
zorun >
haXe is not free?
15:56
<
ousado >
if you mean open source
15:56
<
zorun >
no, I mean whether it's a free software :)
15:56
* raphael-p
is building utop thanks to zorun and metasyntax packaging
15:56
<
ousado >
for which definition of free?
15:56
<
zorun >
raphael-p: :)
15:57
<
zorun >
raphael-p: you'll have to rebuild the whole ocaml package
15:58
<
zorun >
ousado: when you use "free" and "software" side-by-side, you usually refer to a GPL-licensed software
15:58
<
zorun >
or a similar license
15:59
<
ousado >
ahm, not sure, yes, I think it's GPL
16:00
<
ousado >
I mean I'm allowed to paste it, I'm just not sure if that would help, it's about 900 lines
16:00
<
ousado >
and about 700 of them might be relevant
16:01
<
zorun >
is that code you modified? or are you just trying to compile it?
16:01
<
ousado >
I modified it
16:01
<
ousado >
I'm creating a new target for the compiler, to learn ocaml
16:02
<
ousado >
yes, I scrolled up.. it's GPL
16:03
<
zorun >
yeah yeah, it's ok, I only thought you wouldn't paste the code because of a restrictive license ;)
16:03
<
thelema >
ousado: paste it.
16:04
<
raphael-p >
ousado: paste your code
16:04
sebz has quit [Quit: Computer has gone to sleep.]
16:05
dnolen has joined #ocaml
16:05
<
zorun >
raphael-p: if you want to help, you can vote for the integration of the compiler libs in the "ocaml" package ;)
16:06
sebz has joined #ocaml
16:08
<
thelema >
ousado: the error is on line 711
16:10
<
ousado >
should it be obvious why? ;)
16:10
arubin has quit [Quit: arubin]
16:10
<
zorun >
the extra ';', I guess
16:10
<
zorun >
but thelema has accurate eyes :)
16:11
<
thelema >
I"ve had way too much fun making these errors and finding them myself.
16:11
<
thelema >
If I could change the ocaml grammar, this'd be one of the first things I'd fix.
16:13
<
ousado >
thatnks.. it compiles
16:14
<
ousado >
after moving thesemicolon up to the newline ctx
16:39
Anarchos has joined #ocaml
16:43
<
thelema >
"If all you have is locks, use them to build multiple-reader, multiple-writer finite queues. " <- on batteries' todo
16:50
BiDOrD has quit [Read error: Operation timed out]
16:55
BiDOrD has joined #ocaml
16:59
BiDOrD has quit [Remote host closed the connection]
17:01
BiDOrD has joined #ocaml
17:24
bzzbzz has quit [Quit: leaving]
17:36
lopex has joined #ocaml
17:51
edwin has quit [Remote host closed the connection]
17:59
lopexx has joined #ocaml
18:00
lopex has quit [Ping timeout: 258 seconds]
18:05
lopex has joined #ocaml
18:07
lopexx has quit [Ping timeout: 246 seconds]
18:08
lopex has quit [Client Quit]
18:08
lopex has joined #ocaml
18:12
junsuijin has joined #ocaml
18:35
blinky- has quit [Quit: Quitte]
19:04
fraggle_ has quit [Ping timeout: 268 seconds]
19:34
ygrek has quit [Quit: Leaving]
19:58
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
20:03
arubin has joined #ocaml
20:10
Cyanure has joined #ocaml
20:27
cthuluh has quit [Ping timeout: 252 seconds]
20:29
cthuluh has joined #ocaml
20:33
cthuluh has quit [Client Quit]
21:09
fraggle_ has joined #ocaml
21:16
Cyanure has quit [Remote host closed the connection]
21:38
Morphous has quit [Ping timeout: 240 seconds]
21:39
ftrvxmtrx has quit [Quit: Leaving]
21:53
Morphous has joined #ocaml
22:47
ftrvxmtrx has joined #ocaml
23:21
ikaros has quit [Quit: Ex-Chat]