cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
TheJohn has quit [Read error: 110 (Connection timed out)]
goomba has joined #ocaml
<goomba>
wow, an ocaml channel with people! :)
<Riastradh>
No, we're all zombies.
<vincenz>
anyone use mod_caml?
<vincenz>
I can't get it to work
<vincenz>
compiles fine....
<vincenz>
but when I start httpd it won't launch the .so
* goomba
puts his brain in a zombie proof jar
bk_ has left #ocaml []
<abarrett>
... which looks oddly like a pickled jalapeno.
<vincenz>
anyone?
<abarrett>
vincenz, perhaps if you elaborated...
mpc has joined #ocaml
Submarine_ has quit ["ChatZilla 0.8.31 [Mozilla rv:1.4.1/20031114]"]
<vincenz>
I did
<vincenz>
never mind
<vincenz>
it's too late, I'm too tired
<vincenz>
nightynight
TheJohn has joined #ocaml
mpc has quit []
goomba has quit []
mpc has joined #ocaml
kinners has joined #ocaml
jkl has joined #ocaml
jkl has left #ocaml []
kinners has quit ["leaving"]
mpc has quit []
cjohnson has quit ["Leaving"]
TheJohn has quit [Read error: 110 (Connection timed out)]
abarrett has quit ["Leaving"]
GreyLensman has quit ["Leaving"]
kinners has joined #ocaml
Anvil_Vapre has quit ["Leaving"]
mpc has joined #ocaml
mpc has left #ocaml []
TheJohn has joined #ocaml
TheJohn has quit [Read error: 110 (Connection timed out)]
tea has joined #ocaml
monochrom has quit ["Don't talk to those who talk to themselves."]
TheJohn has joined #ocaml
kinners has quit [Read error: 110 (Connection timed out)]
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
TheJohn has quit ["ChatZilla 0.9.61 [Mozilla rv:1.7.2/20040803]"]
alex-i has joined #ocaml
<alex-i>
Hello
<Robert>
Hi, alex-i
<alex-i>
I'm reading faq now. Where would I be able to find the information about real life applications of ocaml?
<Robert>
Check the links in the topic. I'm pretty clueless. :(
<alex-i>
k
Nate75Sanders has joined #ocaml
pangobed has quit ["Client exiting"]
pango has joined #ocaml
mlh has quit ["who are you people and what are you doing in my computer!?"]
Nate75Sanders has quit [Remote closed the connection]
gim has joined #ocaml
dsilva has joined #ocaml
Herrchen has joined #ocaml
vezenchio has joined #ocaml
dsilva has quit [Remote closed the connection]
gim has quit [burroughs.freenode.net irc.freenode.net]
pnou has quit [burroughs.freenode.net irc.freenode.net]
Hipo has quit [burroughs.freenode.net irc.freenode.net]
Lemmih has quit [burroughs.freenode.net irc.freenode.net]
gim has joined #ocaml
pnou has joined #ocaml
Hipo has joined #ocaml
Lemmih has joined #ocaml
systems has joined #ocaml
<systems>
sup
mlh has joined #ocaml
mlh_ has joined #ocaml
systems has quit ["ERC Version 4.0 $Revision: 1.600 $ (IRC client for Emacs)"]
systems has joined #ocaml
cjohnson has joined #ocaml
budjet has joined #ocaml
karryall has joined #ocaml
budjet has quit [Remote closed the connection]
systems has quit ["ERC Version 4.0 $Revision: 1.600 $ (IRC client for Emacs)"]
Herrchen has quit ["bye"]
alex-i has quit [Remote closed the connection]
monochrom has joined #ocaml
budjet has joined #ocaml
budjet has quit [Remote closed the connection]
karryall has quit [Read error: 110 (Connection timed out)]
jrosdahl has quit [Connection timed out]
jrosdahl has joined #ocaml
mlh_ has quit [Client Quit]
mlh has quit [Client Quit]
afx has joined #ocaml
budjet has joined #ocaml
monochrom has quit ["Don't talk to those who talk to themselves."]
budjet has quit [Remote closed the connection]
gim has quit ["brb"]
maihem has joined #ocaml
gim has joined #ocaml
Anvil_Vapre has joined #ocaml
karryall has joined #ocaml
budjet has joined #ocaml
budjet has quit [Remote closed the connection]
avlondono has joined #ocaml
<avlondono>
hello everyone. anyone using labltk? is tk_chooseDirectory somewhere or is it just missing?
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
pango has quit ["Leaving"]
pango has joined #ocaml
budjet has joined #ocaml
mpc has joined #ocaml
mpc has quit [Client Quit]
mpc has joined #ocaml
budjet has quit [Remote closed the connection]
docelic has quit [Remote closed the connection]
Zaius has joined #ocaml
docelic has joined #ocaml
mpc has quit []
Smerdy is now known as Smerdyakov
reltuk has joined #ocaml
thomas001 has joined #ocaml
<thomas001>
hi,how do i declare 2 functions with depend on each other?
<Banana>
thomas001: let rec f x = ..... and g y = ....
<thomas001>
ah i forgot the rec,tought it's only for direct recursion...
<thomas001>
i'm trying to stick to functional programming,but i don't know how to continue: my programs reads input like A:B C;B:A. which means A has references to B and C and B has a reference to A. but how to create such recursive data structures? i can't create a objectt for A until i know B,but B can't be created unless there is an object for A....
gim_ has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
<Banana>
thomas001: well there are many was to deal with it.
<thomas001>
in C++ i would create the object and set the reference afterwards,but thats not functional...what whould you suggest?
<Banana>
if you want to be purelly functionnal, you'll have to duplicate A...
<Smerdyakov>
That's a silly piece of advice, Banana.
<Smerdyakov>
thomas001, you can use a layer of indirection.
<Banana>
Smerdyakov: i wasn't finished talking.
<Smerdyakov>
thomas001, an object's reference list contains a list of _names_, not a list of other objects of the same type.
<thomas001>
Smerdyakov: yes,but thats kind of slow.....i would have to resolve the objects by name
<Smerdyakov>
thomas001, "names" can be indices into an array.
<thomas001>
or i resolve the names when all data is read...
<Smerdyakov>
I don't know what exactly you mean by that, but do you still think you have a problem?
<thomas001>
no not really,i'm only thinking which solution is the prettiest,thanks for the help!
monochrom has joined #ocaml
<thomas001>
can i do forward declaration of a class?
<Smerdyakov>
I don't think OCaml allows any forward declarations of any kind. Instead, you use mutually recursive definitions.
<Smerdyakov>
Mutually recursive class types, at least, are possible.
<thomas001>
can classes and functions be recursive?
<Zaius>
you dont need forward declaration, because you can always specify an arbitraty interface. therefore classes can be recursive too
<Smerdyakov>
Zaius, I don't know that this is true. This isn't any less complicated than the general case of recursive types.
<Smerdyakov>
thomas001, whenever you want to see if some definition construct can be mutually recursive, try using 'and' in the usual way. (And adding 'rec' at the beginning of that doesn't do it)
<karryall>
thomas001: you can declare a class type and then define the class, that's useful in some cases
<thomas001>
i'll look at it thanks
<Smerdyakov>
Types aren't the only reasons you want recursion, though.
<Smerdyakov>
Sometimes you want a set of classes that all make use of each other.