MegaWatS has quit ["Oceania has ALWAYS been at war with Eastasia!"]
physarum has quit [card.freenode.net irc.freenode.net]
bobov has quit [Ping timeout: 14400 seconds]
graydon has quit ["xchat exiting.."]
gene9 has quit [Remote closed the connection]
smklsmkl is now known as smkl
bobov has joined #ocaml
gl has joined #ocaml
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
karryall_ has quit ["'tcho"]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
karryall has joined #ocaml
golya has joined #ocaml
<golya>
Hi! Can anybody tell me a bit about the different syntaxes (ocaml and revised) and how to use them?
bobov has quit [Ping timeout: 14400 seconds]
physarum has joined #ocaml
<golya>
anybody her?
<pnou>
yep
<pnou>
to use the revised syntax launch the caml compiler with the « -pp camlp4r » flag
<golya>
Thanks. What about another syntax, eg sml?
<pnou>
-pp camlp4 pa_sml.cmo
<pnou>
-pp 'camlp4 pa_sml.cmo'
<pnou>
imo the revised syntax is much cleaner but unfortunaly it's not used
<pnou>
since you can't convert your program to another syntax without loosing the commentaries, it's problematic
<golya>
Ok, but I used to the SML syntax, and prefer using SML-like syntax in future projects
<golya>
However I like unbracketed syntaxes, but maybe the revised syntax results in a safer program...
<pnou>
it avoids some problem (for example nesting pattern matching) by bracketting everything
<golya>
Yes, I run into a trouble like this, when I have two statements inside an if...
<pnou>
what's the sml syntax for if expression?
<golya>
It is the same. Well, I think there is 2 story of mine.
<golya>
1. I made a mistake with the if: two statements inside (I don't know how to handle this. Parens?)
<golya>
2. I prefer SML syntax (I learnt SML)
<pnou>
you can use begin and end or ( and )
<golya>
Ok, I will.
<pnou>
the second one is a good reason :)
<golya>
When you have side effect, you have more statements, and you must group them inside an if :( That was the problem. BTW I don't like typing ()-s, when I don't have to...
pnou is now known as pnoupala_pour_fa
pnoupala_pour_fa has quit ["Changing server"]
golya has quit ["Leaving"]
MegaWatS has joined #ocaml
<MegaWatS>
hi ^^
<MegaWatS>
hmm
<xtrm>
( )
<MegaWatS>
how do I set an initial size for my elements in lablgtk without at the same time making it the minimal size?
graydon has joined #ocaml
<MegaWatS>
does anybody know ? :[
<mrvn_>
mldonkey sets it somehow.
<MegaWatS>
hmm
Dalroth has joined #ocaml
olczyk has joined #ocaml
<olczyk>
Hi.
<olczyk>
I'm confused about what I need to download to start with CAML.
<MegaWatS>
hmm
<MegaWatS>
what os ?
<MegaWatS>
actually its quite easy
<olczyk>
Both Windows and Linux. Max portability between the two.