systems changed the topic of #ocaml to: http://icfpcontest.cse.ogi.edu/ -- OCaml wins | http://www.ocaml.org/ | http://caml.inria.fr/oreilly-book/ | http://icfp2002.cs.brown.edu/ | SWIG now supports OCaml| Early releases of OCamlBDB and OCamlGettext are available | Caml Weekly news http://pauillac.inria.fr/~aschmitt/cwn/
stepcut has quit [Remote closed the connection]
jao has quit ["sleep"]
docelic is now known as docelic|sleepo
lowks has joined #ocaml
stefp has quit [Read error: 110 (Connection timed out)]
stefp has joined #ocaml
Kinners has joined #ocaml
Kinners has left #ocaml []
lament has joined #ocaml
lament has quit [Connection timed out]
__DL__ has quit [Remote closed the connection]
lowks has quit [calvino.freenode.net irc.freenode.net]
lowks has joined #ocaml
lowks has quit [calvino.freenode.net irc.freenode.net]
lowks has joined #ocaml
lowks has quit [calvino.freenode.net irc.freenode.net]
lowks has joined #ocaml
docelic|sleepo is now known as docelic
lowks has quit [Read error: 104 (Connection reset by peer)]
mattam has joined #ocaml
foxster has joined #ocaml
foxen has quit [Read error: 110 (Connection timed out)]
docelic is now known as docelic|away
asqui has quit [Read error: 60 (Operation timed out)]
asquii has joined #ocaml
asqui has joined #ocaml
asquii has quit [Connection reset by peer]
__DL__ has joined #ocaml
asqui has quit [Connection reset by peer]
jtra has joined #ocaml
<jtra> Hello. Is ocaml byte code usable as target from another language? Is it well documented and stable?
karryall has joined #ocaml
systems has joined #ocaml
systems has quit [Remote closed the connection]
<__DL__> jtra: yes no and yes (I mean yes it can be a target, it is no "well documented" but you could found some documentation, and it is relativly stable (at least for the "core" part).
<__DL__> (By the way, are you still there ?)
lam has quit ["leaving"]
gene9 has joined #ocaml
<jtra> __DL__: I'm here. Thanks
<__DL__> and the byterun/interp.c file of the ocaml source...
<__DL__> and ocaml -dinstr (or ocamlc -dinstr) to see how ocaml generate it
lam has joined #ocaml
gene9 has quit ["Client exiting"]
<jtra> __DL__: Thanks again. I have to go.
jtra has left #ocaml []
asqui has joined #ocaml
drlion has joined #ocaml
<drlion> is it possible to get a reference to a no-argument method? e.g, i have a method called initialize and i want to pass it to Thread.create. i'm thinking since initialize takes no arguments it must not be a function, yet it's capable of, e.g., running imperative code. can you help me get this straight?
asquii has joined #ocaml
systems has joined #ocaml
asqui has quit [Read error: 110 (Connection timed out)]
asquii is now known as asqui
<karryall> drlion: use smthg like Thread.create (fun obj -> obj#initialize) obj
systems has quit ["Client Exiting"]
<__DL__> drlion : or you can use fun () -> obj #meth
<Smerdyakov> A meth lab??
<__DL__> by the way, lablgtk/lablgtk2 use the following convetion : a method with no arument have no side effect
<__DL__> (meth is a name for a method ... not a meth lab...)
lus|wazze has joined #ocaml
<drlion> __DL__: ah. so they would pass a unit just to indicate side effects?
<drlion> karryall: thanks!
stef_ has joined #ocaml
giedi has joined #ocaml
stefp has quit [Read error: 110 (Connection timed out)]
docelic|away is now known as docelic
lus|wazze has quit ["\o/ www.minibosses.com \o/"]
stef_ has quit [Read error: 60 (Operation timed out)]
clam has joined #ocaml
clam has quit ["no reason"]
docelic is now known as docelic|away
lament has joined #ocaml
karryall has quit ["ERC vVersion 3.0 $Revision: 1.328 $ (IRC client for Emacs)"]
stefp has joined #ocaml
giedi has quit [Remote closed the connection]
<drlion> hey ocaml says that my method "has type foo where .. is unbound". what's that supposed to mean?
stefp has quit [Read error: 110 (Connection timed out)]
pattern__ has joined #ocaml
pattern_ has quit [Read error: 104 (Connection reset by peer)]
systems has joined #ocaml
<__DL__> That mean that there is un unkwon type in the type of your method.
<__DL__> class cannot be implicitly polymorphic. All polymorphisme must be explicit...
stefp has joined #ocaml
lament is now known as lameAFK
mattam_ has joined #ocaml
pattern__ has quit [Read error: 104 (Connection reset by peer)]
pattern_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
systems has left #ocaml []
jao has joined #ocaml
lameAFK has quit ["be back on tuesday"]
depriwats has joined #ocaml
depriwats is now known as lus|wazze
_AndyA_ has joined #ocaml
two-face has joined #ocaml
two-face has left #ocaml []
pattern__ has joined #ocaml
pattern_ has quit [Read error: 54 (Connection reset by peer)]
<Riastradh> Having fun collecting underscores, pattern__?
<pattern__> :(
giedi has joined #ocaml
asquii has joined #ocaml
lus|wazze has quit ["\o/ www.minibosses.com \o/"]
asqui has quit [Connection timed out]
asquii is now known as asqui
systems has joined #ocaml
<drlion> what's the difference between an immutable val and a let binding wrapping object?
<Riastradh> Rephrase, please.
<drlion> nothing like an example: class foo = let x = 123 in object val y = 123 method m1 = x method m2 = y end
<drlion> i just don't see the reason to use immutable fields, but obviously i'm missing something
<Riastradh> Well, does it look nicer to you to use 'val' for mutable fields and 'let' for immutable fields?
<drlion> not really, no, but since i sometimes cannot use 'val' -- and have to use 'let' outside the 'object .. end' -- i realized i don't know why i ever use 'val' in the first place
<Riastradh> What cases can you not use 'val' in?
<drlion> let's say i need to use one val to define another
<Riastradh> You can't use 'and' with 'val'?
<Riastradh> I guess not...
<drlion> no, but that wouldn't really help anyway. in that case i would need something like val foo = 123 in val bar = foo + 2
<drlion> so instead i do class foo = let foo = 123 in let bar = foo + 2 in object .. end
giedi has quit ["Client Exiting"]
clam has joined #ocaml
systems has left #ocaml []