lus|wazze has quit ["Syntactic sugar causes cancer of the semicolon"]
rhil|reading is now known as rhil|zzz
skylan has quit ["[BX] Terminated."]
skylan has joined #ocaml
Smerdyakov has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has joined #ocaml
reltuk has quit [Connection timed out]
reltuk has joined #ocaml
reltuk has quit ["leaving"]
reltuk has joined #ocaml
reltuk has quit [Client Quit]
Smerdyakov has quit []
skylan has quit [Read error: 60 (Operation timed out)]
skylan_ has joined #ocaml
skylan_ is now known as skylan
reltuk has joined #ocaml
Riastradh has quit [leguin.freenode.net irc.freenode.net]
<vincenz>
Hi people
<vincenz>
i had asked around for an ocaml team but noone had been interested
* vincenz
is on the scheme team
docelic|sleepo is now known as docelic
asqui has quit [Connection timed out]
cDlm_ has joined #ocaml
cDlm has quit [Killed (NickServ (Ghost: cDlm_!cdlm@lns-th2-8-82-64-117-169.adsl.proxad.net))]
cDlm_ is now known as cDlm
roger has joined #ocaml
roger has left #ocaml []
asqui has joined #ocaml
EdinburghClouds has joined #ocaml
<teratorn>
how can i chain several expressions into one expression, say in the body of a let, so that the last expressions value is the one that is used?
EdinburghClouds has quit [Read error: 104 (Connection reset by peer)]
systems has joined #ocaml
<teratorn>
i just want to add some printf's for debugging..
<mellum>
begin foo; bar; end
<mellum>
the value of the begin..end is the value of the last expression
<systems>
mmm no
<systems>
begin end is the same as ()
<systems>
; ; ; ; ; ; .... is a sequence of expression, only the value of the last one is returned
<systems>
right !!!!!!
<teratorn>
cool
<systems>
() i did not mean unit
<mrvn>
teratorn: let has an implicit begin/end. No need to type it.
<systems>
i meant brackets
<teratorn>
mrvn: right right
<mrvn>
let a = 1 in fo; bar; barf
<mellum>
Well, begin end imho is more readable than () because that already has 163 other meanings. Oh well.
<teratorn>
ah there we go :)
<mrvn>
can one use begin end within function argumnts?
<mrvn>
foo a begin b; c; end d ?
<mellum>
since it iss no pattern, I'd say no
<mrvn>
so () and begin end are different
<systems>
( expression ) is the same as begin expression end or so i was told
<mellum>
begin end is the same as ( ), but ( ) is not the same as begin end :)
<mrvn>
# let foo x y z = x;;
<mrvn>
# foo 1 begin (); 2 end 3;;
<mrvn>
- : int = 1
<mrvn>
Looks like begin end do work in function arguments.
<systems>
bye bye all
systems has quit ["Client Exiting"]
Yurik_ has joined #ocaml
Yurik has quit [Read error: 104 (Connection reset by peer)]
Riastradh has joined #ocaml
rhil|zzz is now known as rhil
rhil is now known as rhil|store
<reltuk>
how hi level is ocaml bytecode? is it possible to get a reasonable decompile of it?
<reltuk>
s/hi/high
<mellum>
Unlikely. Will probably not be much better than machine code decompile.
Smerdyakov has joined #ocaml
<reltuk>
oh,ok. thanks
rhil|store is now known as rhil
<mellum>
mrvn: any progress on the contest?
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
Demitar has quit ["There are bubbles in the air..."]
lus|wazze has joined #ocaml
rhil is now known as rhil|away
docelic has quit ["fucking code"]
owll has joined #ocaml
owll has quit [Client Quit]
docelic has joined #ocaml
taw has joined #ocaml
jao has joined #ocaml
vincenz has quit [leguin.freenode.net irc.freenode.net]