systems 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
maihem has quit ["Client exiting"]
mimosa has quit ["J'ai fini."]
srv has joined #ocaml
srv has quit [Client Quit]
srv has joined #ocaml
kinners has quit ["leaving"]
Nutssh has left #ocaml []
cjohnson has quit ["Drawn beyond the lines of reason"]
infinitesimo has joined #ocaml
mlh has quit ["ni!"]
infinitesimo has quit ["F(YF) = YF"]
jesse_ has quit [Read error: 54 (Connection reset by peer)]
reltuk has joined #ocaml
Nutssh has joined #ocaml
tinfoil has joined #ocaml
tinfoil has quit ["leaving"]
__DL__ has joined #ocaml
__DL__ has quit [Client Quit]
Def\playing has quit [Read error: 60 (Operation timed out)]
wazze has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]
Def\playing has joined #ocaml
Nutssh has quit ["Client exiting"]
`John has joined #ocaml
`John has left #ocaml []
Def\playing has quit [orwell.freenode.net irc.freenode.net]
yella has quit [orwell.freenode.net irc.freenode.net]
The-Fixer has quit [orwell.freenode.net irc.freenode.net]
lam has quit [orwell.freenode.net irc.freenode.net]
cmeme has quit [orwell.freenode.net irc.freenode.net]
yella has joined #ocaml
The-Fixer has joined #ocaml
lam has joined #ocaml
Def\playing has joined #ocaml
reltuk has quit ["Leaving"]
mimosa has joined #ocaml
Nutssh has joined #ocaml
whiskas has joined #ocaml
whiskas has left #ocaml []
gim has joined #ocaml
teratorn has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
kinners has joined #ocaml
Lemmih has quit [Remote closed the connection]
Lemmih has joined #ocaml
drWorm has joined #ocaml
<drWorm> i have two match cases with very similar code, so i was wondering if one match can match two or more cases... i see at http://pauillac.inria.fr/jocaml/ocaml-1.07-refman/htmlman/node5.8.html there's something called multiple-matching in the ocaml grammar, but i can't see how to use it, is it relevant at all?
__DL__ has joined #ocaml
__DL__ has left #ocaml []
<Nutssh> Yes.
_DL_ has joined #ocaml
<Nutssh> Instead of match x with Foo -> ... | Bar -> ... do match x with Foo | Bar -> ...
_DL_ is now known as IBEGONE
IBEGONE has left #ocaml []
<drWorm> ah, excellent :)
Demitar has quit [orwell.freenode.net irc.freenode.net]
<drWorm> such a nice language
Demitar has joined #ocaml
Nutssh has quit ["Client exiting"]
DomC has joined #ocaml
Def\playing is now known as Defcon7
phj has joined #ocaml
kinners has quit ["zzZZzz"]
DomC has quit [Read error: 104 (Connection reset by peer)]
__DL__ has joined #ocaml
__DL__ has quit [Client Quit]
DomC has joined #ocaml
karryall has joined #ocaml
cjohnson has joined #ocaml
mattam_ is now known as mattam
srv has quit ["leaving"]
srv has joined #ocaml
Bakka has joined #ocaml
<Bakka> hi
<Bakka> yow cher ami
<Bakka> ca roule ?
<Bakka> heum :)
<karryall> Bakka: a qui tu causes ?
<Bakka> karryall - toutes mes excuses, fausse manip
<karryall> :)
zul has joined #ocaml
phj has quit [Read error: 60 (Operation timed out)]
cjohnson has quit ["Drawn beyond the lines of reason"]
DomC has quit [Read error: 104 (Connection reset by peer)]
yrpzeruhv has joined #ocaml
<yrpzeruhv> Hi?
cjohnson has joined #ocaml
<yrpzeruhv> Hello
<karryall> oui ?
karryall has quit ["tcho"]
<yrpzeruhv> I have an OCaml question, if anyone can spare a moment (it's quite simple...).
<Smerdyakov> Just Ask.
<yrpzeruhv> OK, is it possible to perform pattern matching on ranges of ints or floats, like one can do with single characters using the 'a'..'z' syntax?
<Smerdyakov> I don't know. I've never done it. However, you can always use when clauses and specify equivalent boolean tests.
<yrpzeruhv> Ah, that's probably the answer I'm looking for. Thanks.
yrpzeruhv has quit ["[BX] I wonder what this button marked "EOF" does..."]
_JusSx_ has joined #ocaml
cmeme has joined #ocaml
_JusSx_ has quit ["No windows for this server"]
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
Smerdy is now known as Smerdyakov
mimosa has quit ["J'ai fini."]
<drWorm> 'let some_fun ... = ... and rec other_fun ... = ...' <- not legal? i want the two functions to be mutually recursive, but only the second function to be "self-recursive"
<mellum> Not legal.
<drWorm> so the second function can't be self-recursive at all?
<mellum> No. It can't be not self-recursive.
<drWorm> (if you'll excuse the ad-hoc terminology) :)
<drWorm> hmf.
<drWorm> i guess i see :)
<Smerdyakov> Is other_fun used anywhere but in some_fun?
kinners has joined #ocaml
<drWorm> yes, it's called from one other place (which initiates the recursion)
<Smerdyakov> From where is some_fun called?
<drWorm> only from within other_fun
wazze has joined #ocaml
<Smerdyakov> So why not make some_fun local to other_fun?
<drWorm> i'm only doing it this way to avoid code duplication, since i have two matches with basically equal code but the matches don't have the same variables
<drWorm> Smerdyakov: because some_fun needs to call other_fun, and other_fun needs to call some_fun
<Smerdyakov> Not a problem for a local function.
<Smerdyakov> If the outer funtion is declared with rec.
<drWorm> interesting
<drWorm> worked, many thanks!
Nutssh has joined #ocaml
Nutssh has quit ["Client exiting"]
kinners has quit ["leaving"]
infinitesimo has joined #ocaml
mlh has joined #ocaml
zul has quit [Remote closed the connection]
magnus-- has joined #ocaml
infinitesimo has quit ["F(YF) = YF"]
mattam_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]