Iter has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
binary42 has quit [Read error: 110 (Connection timed out)]
Xolution has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 110 (Connection timed out)]
mkorman has joined #ocaml
<mkorman>
does anyone know if there's a way to print objects in ocamldebug?
smimou has quit ["?"]
yauz_ has joined #ocaml
debona|r has joined #ocaml
yauz has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
Xolution has joined #ocaml
mrsolo_ has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
Xolution has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
Xolution has joined #ocaml
fraxtal has joined #ocaml
cjohnson has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
yauz_ has quit [niven.freenode.net irc.freenode.net]
smkl has quit [niven.freenode.net irc.freenode.net]
dj-death has quit [niven.freenode.net irc.freenode.net]
jrosdahl has quit [niven.freenode.net irc.freenode.net]
Maddas has quit [niven.freenode.net irc.freenode.net]
jarod has quit [niven.freenode.net irc.freenode.net]
Dvalin has quit [niven.freenode.net irc.freenode.net]
shawn has quit [niven.freenode.net irc.freenode.net]
lam has quit [niven.freenode.net irc.freenode.net]
pac_ has quit ["leaving"]
det has quit [niven.freenode.net irc.freenode.net]
Xolution has quit [Killed by ballard.freenode.net (Nick collision)]
Xolution has joined #ocaml
yauz_ has joined #ocaml
smkl has joined #ocaml
dj-death has joined #ocaml
jrosdahl has joined #ocaml
Maddas has joined #ocaml
jarod has joined #ocaml
Dvalin has joined #ocaml
shawn has joined #ocaml
lam has joined #ocaml
pnou has quit [niven.freenode.net irc.freenode.net]
det has joined #ocaml
det has quit [niven.freenode.net irc.freenode.net]
det has joined #ocaml
pnou has joined #ocaml
cjohnson has quit [Killed by sagan.freenode.net (Nick collision)]
cjohnson has joined #ocaml
ne1 has joined #ocaml
Xolution has quit [Read error: 60 (Operation timed out)]
xolution has joined #ocaml
jdrake has quit [Read error: 110 (Connection timed out)]
jdrake has joined #ocaml
cjohnson has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
fraxtal has quit ["<Montana §crîpt> v5.4 by ckmontana To Get The Latest Copy Stop By http://montana.w3.to"]
Herrchen_ has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
Herrchen has quit [Read error: 110 (Connection timed out)]
xolution has quit [Connection reset by peer]
yauz_ is now known as yauz
mrsolo_ has quit [Read error: 104 (Connection reset by peer)]
mrsolo_ has joined #ocaml
vezenchio has joined #ocaml
cjohnson has joined #ocaml
mrsolo_ has quit [Read error: 54 (Connection reset by peer)]
mkorman has quit [Read error: 110 (Connection timed out)]
debona|r has left #ocaml []
Xolution has joined #ocaml
cjohnson has quit [Read error: 60 (Operation timed out)]
jdrake has quit [Read error: 110 (Connection timed out)]
mrsolo_ has joined #ocaml
ne1 has quit ["To understand recursion, you must first understand recursion."]
Xolution has quit [Success]
Xolution has joined #ocaml
Xolution has quit [Read error: 110 (Connection timed out)]
ionOSu has joined #ocaml
Iter has joined #ocaml
<rjudace>
Is there any way to override Pervasives.compare for a type? I suspect that Pervasives.compare doesn't return the correct value for my set type
<mellum>
rjudace: in what context?
<rjudace>
My set is using a red-black tree whose structure is dependent on insertion order
<mellum>
Well, then make it a functor that takes a compare
<mellum>
just like the standard Map
<rjudace>
I have a type: 'a rb_tree, and I want a ('a rb_tree * int) rb_tree, but rb_tree uses Pervasives.compare
<fluxx>
and rb_tree is your class?
<rjudace>
Is there some way to avoid having to do lots of typing when using functors and maps?
<mellum>
Oh, you mean if you are comparing two sets?
<fluxx>
(s/class/type/)
<rjudace>
rb_tree is a value type yes
<mellum>
rjudace: not really.
<mellum>
You can use custom blocks from C to change the behaviour of =, but I don't think you can from Ocaml
<rjudace>
What I like about my rb_tree is that I don't have to specify types, i just use it and ocaml works out the rest, but unfortunately two sets, although equal from a set equality point of view may not be equal from a structural point of view
smkl has quit [Read error: 60 (Operation timed out)]
<fluxx>
hm, how does ocaml's Map work in that context?
<rjudace>
I've never used it because it appeared that I had to define a new module for every different map type in my program
<fluxx>
it might be a hint that there's no other way ;)
<mellum>
rjudace: There's a nonfunctorial map in extlib. Maybe it is inspiring to you :)
<rjudace>
I'll fire up godi and have a look, good pointer :)
Iter has quit [Read error: 110 (Connection timed out)]
smkl has joined #ocaml
kosmikus|away is now known as kosmikus
karryall has joined #ocaml
smimou has joined #ocaml
pnou_ has joined #ocaml
smkl has quit [Read error: 60 (Operation timed out)]
rjudace has quit ["ChatZilla 0.9.61 [Mozilla rv:1.7.1/20040715]"]
smkl has joined #ocaml
Iter has joined #ocaml
vincenz has joined #ocaml
cjohnson has joined #ocaml
smkl_ has joined #ocaml
vezenchio has quit ["all that is necessary for the triumph of evil is for good men to do nothing"]
vezenchio has joined #ocaml
smkl has quit [Read error: 60 (Operation timed out)]
Xolution has joined #ocaml
smkl_ is now known as smkl
cjohnson has quit [No route to host]
cjohnson has joined #ocaml
karryall has quit ["tcho"]
Xolution has quit [Read error: 110 (Connection timed out)]
Xolution has joined #ocaml
pnou_ has quit ["leaving"]
cjohnson has quit [Success]
cjohnson has joined #ocaml
vincenz has quit ["leaving"]
Xolution has quit [Read error: 110 (Connection timed out)]
mkorman has joined #ocaml
ionOSu has quit ["Leaving"]
vezenchio has quit ["all that is necessary for the triumph of evil is for good men to do nothing"]
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
ita has joined #ocaml
<ita>
in caml, is this valid ? (* (* comment *) *)
<fluxx>
I think it is
<dj-death>
ita: have a look at the language's grammar
<Lemmih>
Yes. OCaml supports nested comments.
<dj-death>
cool ;)
<ita>
Lemmih: thanks !
Submarine has joined #ocaml
<smkl>
(* "(*" *) <- valid. (* """ *) <- error
<ita>
mm
vezenchio has joined #ocaml
Xolution has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
slashvar[lri] has joined #ocaml
<slashvar[lri]>
Hi
ita has quit ["leaving"]
Xolution has quit [Read error: 110 (Connection timed out)]
Iter has quit [Read error: 110 (Connection timed out)]
Xolution has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
Xolution has quit [Read error: 110 (Connection timed out)]
Xolution has joined #ocaml
cjohnson has joined #ocaml
Xolution has quit [Read error: 110 (Connection timed out)]
leolio has joined #ocaml
_fab has joined #ocaml
Xolution has joined #ocaml
ne1 has joined #ocaml
lam has left #ocaml []
cjohnson has quit [Read error: 60 (Operation timed out)]
Submarine has quit [Remote closed the connection]
Lemmih has quit [Remote closed the connection]
Lemmih has joined #ocaml
maihem has joined #ocaml
jourdechance has joined #ocaml
bzzbzz has joined #ocaml
Xolution has quit [Read error: 110 (Connection timed out)]
Xolution has joined #ocaml
dj-death has quit ["leaving"]
Dvalin has quit [Remote closed the connection]
Dvalin has joined #ocaml
Xolution has quit [Connection timed out]
Xolution has joined #ocaml
jdrake has joined #ocaml
vezenchio has quit ["all that is necessary for the triumph of evil is for good men to do nothing"]
CosmicRay has joined #ocaml
kosmikus is now known as kosmikus|away
Xolution has quit [Read error: 110 (Connection timed out)]
bzzbzz has quit ["gtkBitchX: the Cadillac of all clients"]
cjohnson has joined #ocaml
jdrake has quit [Read error: 60 (Operation timed out)]
Lemmih has quit [Read error: 104 (Connection reset by peer)]
Xolution has joined #ocaml
Lemmih has joined #ocaml
cjohnson has quit [Connection timed out]
leolio has quit [Read error: 110 (Connection timed out)]
gl has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
leolio has joined #ocaml
leolio has quit [Client Quit]
leolio has joined #ocaml
Xolution has quit [Read error: 60 (Operation timed out)]
mkorman has quit ["Client exiting"]
slashvar[lri] is now known as slashvar[away]
Lemmih has quit [Read error: 110 (Connection timed out)]
Lemmih has joined #ocaml
gl has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
jdrake has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
CosmicRay has quit ["Client exiting"]
docelic has joined #ocaml
Xolution has joined #ocaml
smkl has joined #ocaml
leolio has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 110 (Connection timed out)]
ne1 has quit ["To understand recursion, you must first understand recursion."]
monochrom has joined #ocaml
senko has joined #ocaml
senko has left #ocaml []
senko has joined #ocaml
Xolution has quit ["Leaving"]
bk_ has joined #ocaml
senko has quit ["Leaving"]
docelic has quit ["later all"]
monochrom has quit ["Don't talk to those who talk to themselves."]