smkl changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
mattam has quit [Read error: 110 (Connection timed out)]
maihem has quit ["Client exiting"]
anon_lurker has left #ocaml []
demitar_ has joined #ocaml
Demitar has quit [Read error: 104 (Connection reset by peer)]
right_lurk has joined #ocaml
mattam_ is now known as mattam
right_lurk has left #ocaml []
bk_ has quit ["I'll be back"]
Nutssh has quit ["Client exiting"]
The-Fixer has quit ["Goodbye"]
Nutssh has joined #ocaml
Nutssh has quit ["Client exiting"]
jdmarshall has joined #ocaml
jdmarshall has quit [orwell.freenode.net irc.freenode.net]
Hadaka has quit [orwell.freenode.net irc.freenode.net]
whee has quit [orwell.freenode.net irc.freenode.net]
gl has quit [orwell.freenode.net irc.freenode.net]
skylan has quit [orwell.freenode.net irc.freenode.net]
mellum has quit [orwell.freenode.net irc.freenode.net]
Hipo has quit [orwell.freenode.net irc.freenode.net]
ejt has quit [orwell.freenode.net irc.freenode.net]
jdmarshall has joined #ocaml
whee has joined #ocaml
ejt has joined #ocaml
skylan has joined #ocaml
Hadaka has joined #ocaml
gl has joined #ocaml
Hipo has joined #ocaml
mellum has joined #ocaml
Hadaka has quit [orwell.freenode.net irc.freenode.net]
whee has quit [orwell.freenode.net irc.freenode.net]
gl has quit [orwell.freenode.net irc.freenode.net]
skylan has quit [orwell.freenode.net irc.freenode.net]
mellum has quit [orwell.freenode.net irc.freenode.net]
Hipo has quit [orwell.freenode.net irc.freenode.net]
ejt has quit [orwell.freenode.net irc.freenode.net]
jdmarshall has quit [orwell.freenode.net irc.freenode.net]
jdmarshall has joined #ocaml
whee has joined #ocaml
ejt has joined #ocaml
skylan has joined #ocaml
Hadaka has joined #ocaml
gl has joined #ocaml
Hipo has joined #ocaml
mellum has joined #ocaml
Nutssh has joined #ocaml
gl has quit [Read error: 60 (Operation timed out)]
Nutssh has quit ["Client exiting"]
jdmarshall has quit ["ChatZilla 0.9.52B [Mozilla rv:1.6/20040113]"]
reltuk has quit ["leaving"]
_shawn has joined #ocaml
mimosa has joined #ocaml
shawn has quit [Read error: 110 (Connection timed out)]
_shawn is now known as shawn
The-Fixer has joined #ocaml
whiskas has joined #ocaml
gl has joined #ocaml
demitar_ is now known as Demitar
whiskas has quit [Read error: 104 (Connection reset by peer)]
drworm has joined #ocaml
drworm_ has quit [Read error: 113 (No route to host)]
mattam has quit ["Lost terminal"]
mattam has joined #ocaml
cjohnson has joined #ocaml
ejt is now known as ejt_travelling
karryall has joined #ocaml
fjb has joined #ocaml
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
wazze has joined #ocaml
ejt_travelling is now known as ejt
gim has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
cjohnson has joined #ocaml
whiskas has joined #ocaml
whiskas has quit [Client Quit]
shawn_ has joined #ocaml
_shawn has joined #ocaml
_shawn has quit [Read error: 104 (Connection reset by peer)]
_shawn has joined #ocaml
shawn has quit [Read error: 60 (Operation timed out)]
shawn_ has quit [Read error: 60 (Operation timed out)]
Defcon7 is now known as Deffina
_shawn has quit [Read error: 104 (Connection reset by peer)]
Hipo has quit ["leaving"]
ski has joined #ocaml
<ski> how to define infix operators ?
<Maddas> enclose the name in brackets
<Maddas> let ($) = (+)
<Maddas> (Silly example, of course)
<ski> # let (o) f g = fun x -> f (g x);;
<ski> Syntax error
<Maddas> Function names are somewhat restricted
<Maddas> err
<Maddas> Infix operator names
<Maddas> I don't think you can use letters
<ski> infix ops must consist of symbols ?
<karryall> yep
<ski> ok
<karryall> infix-symbol ::= (= | < | > | @ | ^ | | | & | + | - | * | / | $ | %) { operator-char }
<karryall> prefix-symbol ::= (! | ? | ~) { operator-char }
<karryall> operator-char ::= ! | $ | % | & | * | + | - | . | / | : | < | = | > | ? | @ | ^ | | | ~
<karryall> hum that's not very readable
<karryall> ths comes from the manual
<ski> then, perhaps function composition is already defined .. ?
<karryall> no
<karryall> let ($) f g x = f (g x)
<ski> (what wasn't very readably about the above ?)
shawn has joined #ocaml
<ski> (s/readably/readable/)
<karryall> the HTML has different colors
<ski> oh, ok
<ski> hmm, a newbie question : are one supposed to put ";;" in source files ? or are that only for the repl ?
<Smerdyakov> Only repl
<ski> so, i don't put any terminator in source, then ?
<Smerdyakov> Right
<ski> not even, say, newline ?
<Smerdyakov> Correct
<ski> (i.e. "let" starts a new top-level def.)
<Smerdyakov> Yup
<karryall> yep
<ski> ok, fine
gim has quit ["a tout de suite (2.6.4)"]
gim has joined #ocaml
clog has joined #ocaml
bk_ has joined #ocaml
Nutssh has joined #ocaml
Nutssh has quit [Connection reset by peer]
Nutssh has joined #ocaml
buggs|afk has joined #ocaml
buggs^z has quit [Read error: 60 (Operation timed out)]
right_lurk has joined #ocaml
Nutssh has quit ["Client exiting"]
Hipo has quit ["leaving"]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
Demitar has quit [Read error: 104 (Connection reset by peer)]
Demitar has joined #ocaml
bk_ has quit ["I'll be back"]
Tachyon76 has joined #ocaml
bk_ has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
buggs|afk is now known as buggs
Tachyon76 has quit ["Leaving"]
maihem has quit ["Client exiting"]
blueshoe has joined #ocaml
Hipo has joined #ocaml
jonka has quit [Read error: 110 (Connection timed out)]
Kinners has joined #ocaml
mattam_ has joined #ocaml