systems changed the topic of #ocaml to: Archive of Caml Weekly News http://pauillac.inria.fr/~aschmitt/cwn/ | ICFP Programming Contest 2003 http://www.dtek.chalmers.se/groups/icfpcontest/ | A tutorial http://merjis.com/richj/computers/ocaml/tutorial/ | Good free book http://cristal.inria.fr/~remy/cours/appsem/
bk_ has quit ["I'll be back"]
<Xcalibor> ok, time for bed, thanks for all
<Xcalibor> tomorrow more :)
systems has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
Xcalibor has quit ["Terminando cliente"]
skylan has joined #ocaml
brwill|food is now known as brwill
szymon has joined #ocaml
szymon has quit [Client Quit]
eno has joined #ocaml
Kinners has joined #ocaml
systems has left #ocaml []
mattam_ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
eno has quit ["[BX] For a good time, call 1-900-4BitchX"]
Kinners has quit [Read error: 104 (Connection reset by peer)]
polin8 has quit [Read error: 110 (Connection timed out)]
Kinners has joined #ocaml
stderr has joined #ocaml
stderr has quit []
brwill is now known as brwill_zzz
srv has joined #ocaml
srv has quit [Remote closed the connection]
srv has joined #ocaml
lophty has joined #ocaml
Kinners has quit [Read error: 104 (Connection reset by peer)]
karryall has joined #ocaml
asqui has quit [Read error: 104 (Connection reset by peer)]
asqui has joined #ocaml
lophty has quit ["ChatZilla 0.8.31 [Mozilla rv:1.4/20030624]"]
__buggs is now known as buggs
bk_ has joined #ocaml
bk_ has quit ["I'll be back"]
bk_ has joined #ocaml
buggs is now known as buggs|afk
mattam_ has quit ["brb"]
mattam has joined #ocaml
<mattam> anyone knows if it's possible to catch any exception and still get its name ?
<pnou> module Printexc: sig end
<pnou> Facilities for printing exceptions.
<pnou>
<pnou>
<pnou> val to_string : exn -> string
<mattam> yes
<mattam> nice
<mattam> ohh... Out_of_memory ... not sure i like that :)
<pnou> :-/
<mattam> that's weird, I use 10Mb of virtual memory...
<mattam> must have an inf loop
<mattam> haha, struct equality ...
<mrvn> = should check for == first.
<mattam> it does, but with circular references ...
<mattam> it was a bug anyway, i needed == and not =
thomas__ has joined #ocaml
thomas_ has quit [Read error: 60 (Operation timed out)]
<mrvn> mattam: it does not. (a=b) hangs with circular references even if (a==b).
<mattam> oh, nice to know
Riastrad1 has joined #ocaml
Riastradh has quit [Nick collision from services.]
Riastrad1 is now known as Riastradh
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
__buggs has joined #ocaml
systems has joined #ocaml
buggs|afk has quit [Read error: 110 (Connection timed out)]
async has quit [Read error: 110 (Connection timed out)]
srv has quit [Remote closed the connection]
Smerdyakov has quit [Read error: 110 (Connection timed out)]
async has joined #ocaml
Smerdyakov has joined #ocaml
skylan has quit ["."]
systems has quit ["Client Exiting"]
<thomas__> my functional tetris in ocaml is some kind of finished whould someone mind to look at the code and to give some hints what i could do better? (it's ~300 lines)
<Riastradh> Sure.
<thomas__> dcc?
<Riastradh> No, put it on the web somewhere.
Xcalibor has joined #ocaml
<Xcalibor> hiyas :)
<Riastradh> Hi.
<thomas__> hmm is there a nopaste site with ocaml syntax highlighting?
<Riastradh> I don't care about syntax highlighting. Just put it on the web somewhere.
Smerdy has joined #ocaml
<Maddas> hm
Smerdyakov has quit [Read error: 110 (Connection timed out)]
<Xcalibor> hey, Smerdy, what's up? :)
<Xcalibor> Riastradh: hey there
Smerdy is now known as Smerdyakov
<bk_> let get x =
<bk_> let y = ref 99 in
<bk_> x + !y;;
<bk_> this is what i wanted, but accidently i came across this
<bk_> # let get x =
<bk_> let y = ref 99 in
<bk_> x = x + !y;;
<bk_> val get : int -> bool = <fun>
<bk_> why does this return a bool ?
<Smerdyakov> Because = is the equality operator.
<bk_> oh
<Xcalibor> :)
<bk_> the result is then x = x
<Xcalibor> it's true when !y = 0 :)
<bk_> ie. the result of the comparison
<Smerdyakov> "The result of the comparison"?
<Smerdyakov> The expression is equivalent to (x = (x + !y))
<Smerdyakov> No different from == in C or Java.
<Xcalibor> for ref y = 99 I'd say that's false for all values of x different from infinite
<bk_> i mixed that up with :=
<bk_> nm i need a break, i'm starting to see things
<Xcalibor> bk_: lol :)
thomas__ has quit ["leaving"]
systems has joined #ocaml
systems has quit [Read error: 104 (Connection reset by peer)]
Xcalibor has quit [Read error: 113 (No route to host)]
Xcalibor has joined #ocaml
<Xcalibor> re's
Verbed has joined #ocaml
<Xcalibor> hi there