vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, 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
<mellum> val pi : float = 3.14159265358979312
vect has quit ["changing servers"]
vect has joined #ocaml
infisxc has joined #ocaml
smkl has quit [orwell.freenode.net irc.freenode.net]
smkl has joined #ocaml
Kinners has joined #ocaml
mimosa has quit ["I like core dumps"]
smklsmkl has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
g1m has quit ["bonne nuit"]
infisxc has quit ["dodo"]
systems has joined #ocaml
systems has quit ["Client Exiting"]
<Etaoin> if I may pick your brains,
<Etaoin> why is this a syntax error?
<Etaoin> if (mod 1 2) then
<Etaoin> print_string "true branch\n"
<Etaoin> else
<Etaoin> print_string "false branch\n"
<Smerdyakov> mod is an infix operator.
<Etaoin> hm
<Etaoin> how should I know which functions in Pervasives are invix and which aren't?
<Smerdyakov> I don't know. mod might be hard-coded as infix.
<Etaoin> thanks for your help
Kinners has left #ocaml []
Kinners has joined #ocaml
bk_ has joined #ocaml
smklsmkl is now known as smkl
Kinners has quit [Read error: 110 (Connection timed out)]
srv has joined #ocaml
buggs is now known as buggs|afk
fox___^ has quit [Read error: 104 (Connection reset by peer)]
karryall has joined #ocaml
__DL__ has joined #ocaml
systems has joined #ocaml
mimosa has joined #ocaml
__buggs has joined #ocaml
buggs|afk has quit [Read error: 60 (Operation timed out)]
systems has left #ocaml []
g1m has joined #ocaml
systems has joined #ocaml
Kinners has joined #ocaml
srv has quit ["leaving"]
mattam has quit [Read error: 110 (Connection timed out)]
lus|wazze has joined #ocaml
systems has quit ["Client Exiting"]
Kinners has left #ocaml []
systems has joined #ocaml
lus|wazze` has joined #ocaml
systems has quit ["Client Exiting"]
lus|wazze has quit [Read error: 110 (Connection timed out)]
srv has joined #ocaml
brwill_zzz is now known as brwill
bk_ has quit ["I'll be back"]
srv has quit ["leaving"]
lus|wazze` is now known as lus|wazze
karryall has quit ["tcho"]
irch_32 has joined #ocaml
vect is now known as gl
irch_32 was kicked from #ocaml by gl [we have clog, bye.]
<gl> mh, he's K-Lined
gl is now known as vect
karryall has joined #ocaml
systems has joined #ocaml
mattam has joined #ocaml
systems has left #ocaml []
krosfells has joined #ocaml
<krosfells> hello i look about a stream lexer example in caml but ocaml don't seem accept: let lexeur flot = match flot with
<krosfells> | [<`'('>] -> "oui";;
<krosfells> he don't like [< sequence i don't know why
<karryall> you have to use camlp4 to parse streams in recent ocaml version
<karryall> compile with `-pp camlp4o'
<krosfells> yes i see it .
<krosfells> but i have the same error
<karryall> which is ?
<krosfells> let lexeur flot = match flot with
<krosfells> | [<`'('>] -> "oui";;
<krosfells> ^^
<krosfells> Parse error: [match_case] expected (in [expr])
<karryall> yeah first : you have to use `parser' not `match'
<karryall> and then in in the [< it should be a quote, not a backquote
<krosfells> hum my book it's pretty old. thanks
<karryall> well actually, there's no really current documentation
<mellum> krosfells: I think you need to explicitely invoke the camlp4 preprocessor
<mellum> try running ocaml -pp camlp4
<krosfells> Ok i read the camlp4 doc ocamlc -pp "camlp4o pa_extend
<krosfells> .cmo" -I +camlp4 -c works pretty well thanks
lus|wazze` has joined #ocaml
<g1m> anyone know if there exist a safe implementation of "Marshaling" (on which you can check the type of the marshalised data when you reconstruct it, an that dont crash on a wrong string) ?
lus|wazze has quit [Read error: 110 (Connection timed out)]
__buggs is now known as buggs
__DL__ has quit [Remote closed the connection]
systems has joined #ocaml
lus|wazze` has quit ["If your slaves have the ability to defy you, even if it means torment; it makes their obedience to your absolute will seem a v"]
systems has quit ["Client Exiting"]
DavidW2 has joined #ocaml
<DavidW2> I compiled my ocaml code under windows. It uses sockets. However, under windows, it reads from stdin.
mimosa has quit ["I like core dumps"]