ikaros has quit ["Leaving"]
shawn has quit ["This computer has gone to sleep"]
shawn has joined #ocaml
_JusSx_ has quit [No route to host]
_JusSx___ has quit [No route to host]
pantsd has joined #ocaml
pantsd has quit ["Leaving."]
bluestorm has quit ["Konversation terminated!"]
shawn has quit ["This computer has gone to sleep"]
swater has quit ["Quat"]
zbrown has joined #ocaml
zbrown has left #ocaml []
s22 has joined #ocaml
pango has quit [Excess Flood]
pango has joined #ocaml
s22 has quit [Read error: 54 (Connection reset by peer)]
dbueno has joined #ocaml
<
dbueno>
Is ocamlopt -p known to be broken on ppc? (Dual G5, OS X 10.4.8)
<
dbueno>
I can generate a profiling binary, and run it, but although there is data in gmon.out, gprof reports nothing in either profile.
Smerdyakov has quit ["Leaving"]
dbueno has quit ["Leaving"]
johnnowak has joined #ocaml
<
mbishop>
What will netclient's http_client return if the website is down?
torpe1 has joined #ocaml
pstickne has quit ["Leaving"]
johnnowak_ has joined #ocaml
johnnowak has quit [Nick collision from services.]
johnnowak_ is now known as johnnowak
Shimei has left #ocaml []
johnnowak has quit []
pstickne has joined #ocaml
pstickne has quit [Remote closed the connection]
pstickne has joined #ocaml
shawn has joined #ocaml
bluestorm has joined #ocaml
pstickne has quit [Remote closed the connection]
pstickne has joined #ocaml
pstickne has quit [Client Quit]
pstickne has joined #ocaml
_JusSx_ has joined #ocaml
j0j0j0j0 has joined #ocaml
ikaros has joined #ocaml
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
swater has joined #ocaml
_JusSx__ has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit [Read error: 113 (No route to host)]
_JusSx_ has joined #ocaml
_JusSx__ has quit [Read error: 113 (No route to host)]
hcarty has quit [Remote closed the connection]
hcarty has joined #ocaml
jlouis_ has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
<
flux->
hmph, tuareg-mode 1.46.0-1 (ubuntu) is broken with 'if' and 'for'-statements
<
flux->
ubuntu is not. I wonder how compatible the packages are.. should be quite, I suppose
love-pingoo has joined #ocaml
Smerdyakov has joined #ocaml
diffbavis has joined #ocaml
pango has quit [Remote closed the connection]
romanoffi has joined #ocaml
pango has joined #ocaml
pango_ has joined #ocaml
<
flux->
hmm.. can I declare a type and a class recursively?
<
Smerdyakov>
Did you try?
<
flux->
no, but I don't know what the syntax would be
<
Smerdyakov>
You can certainly declare a class type and another type recursively.
<
flux->
the 'obvious' attempt type t = b -> b and class b = object end fails
pango has quit [Remote closed the connection]
<
love-pingoo>
I may have heard before that this is one of the annoying things with classes... I wouldn't be so sure that it's possible.
<
flux->
well actually this wouldn't need recursion
<
love-pingoo>
flux-: you can try to parametrize the class first and instantiate next
<
love-pingoo>
class ['t] c = ...
<
flux->
but wouldn't that mean the users of the class need to use the parameter too?
<
flux->
type t = b -> bool and class virtual b = object method bar : t -> unit end is a bit closer to what I'm trying to do
<
flux->
but if I replace t with a class (it's actually a record of a value and a function), it should work ok..
<
Smerdyakov>
flux-, are you sure you don't mean to declare a class type instead of a class?
<
love-pingoo>
flux-: then you can instantiate the class, something like class real_c = object inherit [t] c end
<
flux->
actually I haven't used class types.. I'll revise that part
<
love-pingoo>
(not sure about the syntax anymore)
<
Smerdyakov>
flux-, if the "class" has no actual members, just their types, then I would say a class type is appropriate.
romanoffi has quit [Read error: 110 (Connection timed out)]
diffbavis has quit [Read error: 104 (Connection reset by peer)]
ikaros has quit ["Leaving"]
diffbavis has joined #ocaml
j0j0j0j0 has quit ["Leaving."]
pstickne has quit [Connection reset by peer]
pstickne has joined #ocaml
johnnowak has joined #ocaml
johnnowak_ has joined #ocaml
johnnowak has quit [Read error: 110 (Connection timed out)]
shawn has quit ["This computer has gone to sleep"]
johnnowak has joined #ocaml
johnnowak_ has quit [Read error: 110 (Connection timed out)]
johnnowak has quit [Read error: 110 (Connection timed out)]
shawn has joined #ocaml
Mr_Awesome has joined #ocaml
benny has joined #ocaml
pstickne has quit [Connection timed out]
pstickne has joined #ocaml
benny_ has quit [Connection timed out]
jacobian is now known as socapic
malc_ has joined #ocaml
Nutssh has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
jlouis_ is now known as jlouis
shawn has joined #ocaml
socapic is now known as jacobian
romanoffi has joined #ocaml
jacobian has quit ["Ex-Chat"]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
jacobian has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
shawn has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
smimou has joined #ocaml
_JusSx_ has quit [Client Quit]
shawn has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
smimou has quit ["bli"]
malc_ has quit ["leaving"]