00:24
tani has quit [Quit: Verlassend]
00:27
stj has joined #ocaml
00:28
<
stj >
is it because of exception handling?
00:39
<
stj >
I see, that's the reason... nvm
00:43
travisbrady has joined #ocaml
00:48
ontologiae has quit [Ping timeout: 252 seconds]
00:54
<
pippijn >
stj: also try compiling with -annot and look at the .annot file
00:54
<
pippijn >
stj: it will tell you whether it's a "tail" call or a "stack" call
00:55
<
pippijn >
the exception handling thing has bit me before, too
00:56
<
stj >
pippijn: didn't know about annot, thanks!
01:00
cdidd has joined #ocaml
01:12
eikke has quit [Ping timeout: 252 seconds]
01:19
alxbl has quit [Ping timeout: 246 seconds]
01:19
madroach has quit [Ping timeout: 244 seconds]
01:21
madroach has joined #ocaml
01:24
alxbl has joined #ocaml
01:31
gnuvince has joined #ocaml
01:35
emmanuelux has quit [Remote host closed the connection]
02:00
leoncamel has joined #ocaml
02:45
travisbrady has quit [Quit: travisbrady]
02:58
hongboz has joined #ocaml
03:00
lolcathost has quit [Ping timeout: 260 seconds]
03:05
mye has joined #ocaml
03:15
mattrepl has joined #ocaml
03:24
lolcathost has joined #ocaml
03:27
mattrepl has quit [Quit: mattrepl]
03:30
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
03:50
areece has joined #ocaml
03:50
<
areece >
I'm trying to use ocamlgraph to parse dotfiles, and I suspect that I'm either using it incorrectly or I found a bug in the way it parses dotfiles
03:51
<
areece >
I assert that the two dotfiles are the same graph, but for the first one ocamlgraph produces an invalid dfs traversal
03:51
gbarboza has joined #ocaml
03:57
mye_ has joined #ocaml
03:59
mye has quit [Ping timeout: 240 seconds]
03:59
mye_ is now known as mye
04:17
lolcathost has joined #ocaml
04:28
tac has joined #ocaml
04:31
Submarine has joined #ocaml
04:31
Submarine has quit [Changing host]
04:31
Submarine has joined #ocaml
04:33
hongboz has quit [Ping timeout: 260 seconds]
04:52
jewel has joined #ocaml
04:57
leoncamel has quit [Ping timeout: 252 seconds]
05:01
alxbl has quit [Ping timeout: 252 seconds]
05:05
alxbl has joined #ocaml
05:16
tac has quit [Quit: Page closed]
05:29
lolcathost has quit [Ping timeout: 250 seconds]
05:33
lolcathost has joined #ocaml
05:59
andreypopp has joined #ocaml
06:01
jewel has quit [Ping timeout: 248 seconds]
06:06
answer_42 has joined #ocaml
06:08
<
areece >
ah, upon examination of the source it appears that ocamlgaph is parsing the dotfile incorrectly
06:08
<
areece >
here is a patch
06:08
<
areece >
can I have some advice on making that a more idiomatic solution?
06:10
mye has quit [Quit: mye]
06:12
Cyanure has joined #ocaml
06:26
Cyanure has quit [Ping timeout: 240 seconds]
06:34
Kakadu has joined #ocaml
07:00
lolcathost has quit [Ping timeout: 252 seconds]
07:06
lolcathost has joined #ocaml
07:37
Yoric has joined #ocaml
07:46
dwmw2_gone has quit [Ping timeout: 260 seconds]
07:48
Yoric has quit [Ping timeout: 240 seconds]
07:50
dwmw2_gone has joined #ocaml
08:07
leoncamel has joined #ocaml
08:14
Yoric has joined #ocaml
08:33
philed``` has quit [Ping timeout: 240 seconds]
08:35
UncleVasya has joined #ocaml
08:44
Yoric has quit [Remote host closed the connection]
08:44
Yoric has joined #ocaml
08:56
leoncamel has quit [Ping timeout: 256 seconds]
09:03
Zerker has joined #ocaml
09:19
BiDOrD has joined #ocaml
09:22
BiDOrD_ has quit [Ping timeout: 260 seconds]
09:41
andreypopp has quit [Quit: sleep]
09:48
andreypopp has joined #ocaml
09:51
lolcathost has quit [Ping timeout: 256 seconds]
09:52
jewel has joined #ocaml
09:53
milosn has joined #ocaml
09:58
lolcathost has joined #ocaml
09:59
Zerker has quit [Quit: Colloquy for iPad - Timeout (10 minutes)]
10:04
lolcathost has quit [Ping timeout: 265 seconds]
10:09
lolcathost has joined #ocaml
10:12
ikaros has joined #ocaml
10:15
UncleVasya has quit [Read error: Connection reset by peer]
10:23
xavierm02 has joined #ocaml
10:25
emmanuelux has joined #ocaml
10:25
Yoric has quit [Ping timeout: 240 seconds]
10:34
Yoric has joined #ocaml
10:39
Yoric has quit [Ping timeout: 252 seconds]
10:40
UncleVasya has joined #ocaml
10:43
tane has joined #ocaml
10:44
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
10:44
lolcathost has joined #ocaml
10:49
pango has quit [Remote host closed the connection]
10:51
pango has joined #ocaml
10:53
lolcathost has quit [Ping timeout: 248 seconds]
11:05
Yoric has joined #ocaml
11:06
lolcathost has joined #ocaml
11:19
stj has quit [Quit: Page closed]
11:26
milosn has quit [Read error: No route to host]
11:27
milosn has joined #ocaml
11:28
pango has quit [Read error: Operation timed out]
11:30
Yoric has quit [Ping timeout: 252 seconds]
11:32
milosn has quit [Read error: Connection reset by peer]
11:32
milosn has joined #ocaml
11:41
Yoric has joined #ocaml
11:42
pango has joined #ocaml
12:09
eikke has joined #ocaml
12:23
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
12:24
lolcathost has joined #ocaml
12:25
leoncamel has joined #ocaml
12:27
ontologiae has joined #ocaml
12:30
Yoric has quit [Ping timeout: 246 seconds]
13:03
Submarine has quit [Ping timeout: 255 seconds]
13:12
weie has quit [Ping timeout: 252 seconds]
13:12
weie has joined #ocaml
13:14
iZsh has quit [Quit: Coyote finally caught me]
13:19
iZsh has joined #ocaml
13:42
Yoric has joined #ocaml
13:45
lolcathost has quit [Quit: brb peepls!!1!1!1]
13:46
lolcathost has joined #ocaml
13:54
myx has joined #ocaml
13:56
UncleVasya has quit [Ping timeout: 250 seconds]
13:58
UncleVasya has joined #ocaml
14:04
ontologiae has quit [Ping timeout: 252 seconds]
14:15
alxbl has quit [Ping timeout: 244 seconds]
14:20
alxbl has joined #ocaml
14:30
andreypopp has quit [Quit: sleep]
14:31
ontologiae has joined #ocaml
14:35
andreypopp has joined #ocaml
14:43
Submarine has joined #ocaml
14:43
Submarine has quit [Changing host]
14:43
Submarine has joined #ocaml
14:46
andreypopp has quit [Quit: sleep]
14:49
andreypopp has joined #ocaml
14:51
pango has quit [Ping timeout: 260 seconds]
15:04
pango has joined #ocaml
15:04
andreypopp has quit [Read error: Connection reset by peer]
15:06
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
15:07
lolcathost has joined #ocaml
15:09
andreypopp has joined #ocaml
15:10
ontologiae has quit [Ping timeout: 260 seconds]
15:23
eikke has quit [Read error: Operation timed out]
15:24
mattrepl has joined #ocaml
15:25
Snark_ has joined #ocaml
15:25
andreypopp has quit [Quit: sleep]
15:26
jewel has quit [Ping timeout: 276 seconds]
15:37
Snark_ is now known as Snark
15:42
ulfdoz has joined #ocaml
16:08
lolcathost has quit [Quit: b(not so)rb]
16:17
Zerker has joined #ocaml
16:27
Zerker has quit [Quit: Colloquy for iPad - Timeout (10 minutes)]
16:34
djcoin has joined #ocaml
16:59
TDJACR has quit [Ping timeout: 260 seconds]
16:59
ontologiae has joined #ocaml
17:06
jave has quit [Ping timeout: 260 seconds]
17:10
Yoric has quit [Remote host closed the connection]
17:11
jave has joined #ocaml
17:27
cdidd has quit [Read error: Operation timed out]
17:38
emmanuelux has quit [Ping timeout: 240 seconds]
17:46
Submarine has quit [Ping timeout: 250 seconds]
17:51
emmanuelux has joined #ocaml
17:58
astertronistic has joined #ocaml
17:58
Submarine has joined #ocaml
17:58
Submarine has quit [Changing host]
17:58
Submarine has joined #ocaml
18:14
mye has joined #ocaml
18:17
<
xavierm02 >
how do I declare "recursive" types in ocaml?
18:18
<
xavierm02 >
type And = Expression * Expression
18:18
<
xavierm02 >
type Or = Expression * Expression
18:18
<
xavierm02 >
type Expression = And | Or
18:20
<
orbitz >
type And = Expression * Expression and Expression = ..
18:20
<
xavierm02 >
I'm stupid
18:21
<
xavierm02 >
how did I not think of that >_<
18:26
<
xavierm02 >
type and_expression = expression * expression and
18:26
<
xavierm02 >
expression = or_expression | and_expression | variable and
18:26
<
xavierm02 >
not_expression = expression and
18:26
<
xavierm02 >
or_expression = expression * expression and
18:26
<
xavierm02 >
variable = int;;
18:27
<
xavierm02 >
syntax error line 2
18:28
<
xavierm02 >
i cant do that with type without giving a name?
18:28
<
xavierm02 >
"something of type" ?
18:28
gbarboza has left #ocaml []
18:29
<
xavierm02 >
I just need one type in fact
18:34
<
orbitz >
xavierm02: ah, whoops
18:53
ontologiae has quit [Ping timeout: 276 seconds]
18:55
ontologiae has joined #ocaml
18:57
bobry_ has joined #ocaml
19:00
Cyanure has joined #ocaml
19:00
ontologiae has quit [Ping timeout: 240 seconds]
19:00
bobry has quit [Remote host closed the connection]
19:03
wmeyer``` has joined #ocaml
19:03
<
wmeyer``` >
is there anyway to use Batteries without all these prefixes?
19:03
<
wmeyer``` >
I want BatList to default to List
19:07
<
xavierm02 >
I really have no idea what I'm talking about
19:07
<
xavierm02 >
but I thought open was for this
19:07
<
orbitz >
wmeyer```: only thin I can think of is having a module that does module List = BatList then open that module
19:08
<
wmeyer``` >
orbitz: thanks, yes, I've been doing that, but I am not 100% satisfied with that
19:08
<
orbitz >
yeah kind of annoying
19:08
<
orbitz >
I'm a Core-boy though
19:09
<
wmeyer``` >
actually I think this is what stops me to use Batteries as drop in replacement
19:09
<
wmeyer``` >
and I am sure many people would report the same psychological behavior
19:10
<
wmeyer``` >
BatList just does not look neat to me, binding to module better but then cumbersome
19:10
* orbitz
shrugs, I can't really say, I have never used Batteries
19:10
<
wmeyer``` >
maybe I will just a module that collects all this into single module containing all of these.
19:11
<
wmeyer``` >
orbitz: What are your impressions when using Core?
19:11
<
orbitz >
So far I've been very pleased
19:11
<
wmeyer``` >
OK, I might try it then
19:11
<
orbitz >
It is not stdlib compatible, if that is a factor for you, but I prefer its design over the stdlib
19:12
<
wmeyer``` >
ok, thanks
19:14
<
wmeyer``` >
the Command module makes bigger sense than what is in Batteries BatOpt based on GNU getopt
19:16
<
orbitz >
yeah, it's its own beast for sure
19:29
<
Qrntz >
wmeyer```, «open Batteries» sounds like what you want, doesn't it?
19:30
<
Qrntz >
that actually does what you intend to re-invent
19:30
<
Qrntz >
21:10:33 < wmeyer```> maybe I will just a module that collects all this into single module containing all of these.
19:30
<
orbitz >
Qrntz: does that define List to be BatList?
19:31
<
orbitz >
there you go
19:31
Yoric has joined #ocaml
19:31
tane has quit [Quit: Verlassend]
19:48
Snark has quit [Quit: Quitte]
19:50
<
wmeyer``` >
ah yes, my bad ...
19:50
<
wmeyer``` >
Qrntz: thanks
19:55
<
Qrntz >
you're welcome
20:00
<
wmeyer``` >
anybody knows a good and fast vector library to reuse with Cairo contexts? Archimedes would work?
20:01
<
wmeyer``` >
actually I don't need Cairo but need either direct gtk drawing, or through gtk opengl
20:02
<
wmeyer``` >
what I want is to build primitives as data, and then render them somewhere in the window
20:02
<
wmeyer``` >
it must be fast too
20:05
Cyanure has quit [Read error: Connection timed out]
20:19
answer_42 has quit [Ping timeout: 240 seconds]
20:20
wormphlegm has quit [Ping timeout: 248 seconds]
20:29
Submarine has quit [Read error: Operation timed out]
20:46
areece has joined #ocaml
20:58
Yoric has quit [Ping timeout: 246 seconds]
21:39
Neros has quit [Ping timeout: 255 seconds]
21:50
<
areece >
and if not, how can I make it better
21:50
<
areece >
er, wrong link
21:53
mye has quit [Ping timeout: 244 seconds]
21:54
<
wmeyer``` >
areece: Looks good
21:54
leoncamel has quit [Ping timeout: 252 seconds]
22:08
<
areece >
wmeyer```: thanks :)
22:11
xavierm02 has quit [Quit: Leaving]
22:11
UncleVasya has quit [Quit: UncleVasya]
22:16
andreypopp has joined #ocaml
22:17
<
wmeyer``` >
areece: you're welcome :)
22:19
andreypopp has quit [Client Quit]
22:39
djcoin has quit [Quit: WeeChat 0.3.9.2]
23:07
mattrepl has quit [Quit: mattrepl]
23:09
iZsh has quit [Ping timeout: 250 seconds]
23:23
iZsh has joined #ocaml
23:23
iZsh has quit [Excess Flood]
23:24
Yoric has joined #ocaml
23:29
iZsh has joined #ocaml
23:32
ikaros has quit [Quit: Ex-Chat]
23:35
iZsh has quit [Quit: jumpin' jumpin']
23:35
iZsh has joined #ocaml
23:56
Yoric has quit [Ping timeout: 252 seconds]