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
Jondice has joined #ocaml
Jaundice has quit [Connection timed out]
avlondono has quit ["ChatZilla 0.9.52B [Mozilla rv:1.6/20040312]"]
Lemmih has joined #ocaml
LittleDa1 has joined #ocaml
<LittleDa1> Does OCaml have any sort of bignum like Python and Ruby that can be arbitrary size?
<mfurr> there's the "Bignum" module :)
<Riastradh> Big_int, you mean.
<mfurr> err, yeah
<LittleDa1> Is there a literal for it (like 20L)?
<LittleDa1> (but not that because that's Int64)
<reltuk> I suppose you could make one with camlp4
<reltuk> you must need a really big literal...
<LittleDa1> I just need zero
<Riastradh> Big_int.zero_big_int
<LittleDa1> I found that, but it's more verbose than I was expecting
<reltuk> zero_big_int
<Riastradh> let zero = Big_int.zero_big_int
<reltuk> the maybe camlp5
<mfurr> camlp5 == pre-processor pretty printer please? :)
<reltuk> lol, yes
* mfurr invisions a probablistic camlp4
<LittleDa1> why is it Big_int.zero_big_int and not Big_int.zero?
<Riastradh> You're probably supposed to open the module rather than use qualified names.
<LittleDa1> oh
LordBrain has quit ["Leaving"]
<LittleDa1> but Int64 defines zero, one, to_int and from_int
<LittleDa1> it doesn't look like it's supposed to be opened
The-Fixer has quit ["Goodbye"]
<LittleDa1> why is that?
The-Fixer has joined #ocaml
mfurr has quit [""alcohol""]
LittleDa1 has left #ocaml []
bk_ has quit ["I'll be back"]
reltuk has quit [Remote closed the connection]
cjohnson has joined #ocaml
The-Fixer has quit ["Goodbye"]
Jondice has quit [Read error: 60 (Operation timed out)]
Jaundice has joined #ocaml
cjohnson has quit ["Drawn beyond the lines of reason"]
The-Fixer has joined #ocaml
Banana has quit [Read error: 104 (Connection reset by peer)]
gf2rewf has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
slashvar[typage] has quit [Read error: 110 (Connection timed out)]
Meta_ has joined #ocaml
Meta has quit [Read error: 110 (Connection timed out)]
Meta has joined #ocaml
Meta_ has quit [Read error: 60 (Operation timed out)]
mrsolo has quit [Read error: 54 (Connection reset by peer)]
bk_ has joined #ocaml
Jaundice has quit ["Leaving"]
gf2rewf has quit ["using sirc version 2.211+KSIRC/1.3.10"]
Nate75Sanders has joined #ocaml
Banana has joined #ocaml
_JusSx_ has joined #ocaml
mattam has joined #ocaml
bk_ has quit ["I'll be back"]
vegai has joined #ocaml
munga has joined #ocaml
bk_ has joined #ocaml
bk_ has quit ["I'll be back"]
munga has left #ocaml []
Jaundice has joined #ocaml
<yella> how can the compiler say a pattern-matching is not exhaustive when I use the "| _ ->" match at the end?
<lucifer> doesn't it show an unmatched pattern?
<yella> ah found the problem. I wrote a nested pattern match without ( ) around
Nate75Sanders has quit [Read error: 54 (Connection reset by peer)]
vegai has quit ["Terminated with extreme prejudice - dircproxy 1.1.0"]
agon292 has joined #ocaml
<agon292> I want to build ocaml 3.07 , locally without labltk, I am giving -no-tk option to configure and it still complains about the labltk
agon292 has quit ["BitchX: not from concentrate"]
wazze has joined #ocaml
maihem has joined #ocaml
maihem has quit ["Client exiting"]
mkorman has joined #ocaml
mfurr has joined #ocaml
cjohnson has joined #ocaml
drWorm has joined #ocaml
Tachyon76 has joined #ocaml
lus|wazze has joined #ocaml
<drWorm> anyone here worked with multisets in caml? is Sébastien Briais' multiset library (http://lamp.epfl.ch/~sbriais/) a safe bet?
wazze has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit ["BitchX: its shagadellic, baby!"]
gl has quit ["[BX] Hey baby, come sit on my lap. We'll talk about whatever pops up."]
gl has joined #ocaml
Tachyon76 has quit [Read error: 54 (Connection reset by peer)]
mkorman has quit ["Client exiting"]
Tachyon76 has joined #ocaml
Tachyon76 has quit ["Leaving"]
mfurr has quit [""feast with the rents""]
Jaundice has quit [Read error: 110 (Connection timed out)]
<drWorm> how can i link with a .cmo that's not in the same dir as the .ml i'm compiling? in this case the .cmo is in a dir under the current (./lib/)
bk_ has joined #ocaml
malte has quit [Remote closed the connection]
Vekza has joined #ocaml
bk_ has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
bk_ has joined #ocaml
LordBrain has joined #ocaml
<LordBrain> i'm noticing some strange behavior in the interactive interpretter
<LordBrain> let rec range = function | 1 -> [0] | n -> range (n-1) @ [n-1];;
<LordBrain> List.iter (Printf.printf "A %i B \n") (range 10);;
<LordBrain> The above command only prints "A" one time, and prints "B" ten times..
<LordBrain> why is that?
<Smerdyakov> Printf is a mysterious beast.
<Smerdyakov> I don't think it has anything to do with the repl.
<LordBrain> repl?
maihem has joined #ocaml
<Smerdyakov> "Read-eval-print loop"... the interactive environment
Dybbuk has quit [Remote closed the connection]
<LordBrain> oh
<drWorm> called a "toplevel" too?
Dybbuk has joined #ocaml
<Smerdyakov> Yes
<LordBrain> So i should just consider Printf buggy?
<Smerdyakov> No. You should consider that you don't understand its semantics. :)
vegai has joined #ocaml
The-Fixer has quit [Success]
<LordBrain> Does anyone?
<LordBrain> heh
<LordBrain> in short, the key is not to pass partial applications of printf as parameters to other functions
reltuk has joined #ocaml
ben_ has joined #ocaml
reltuk has left #ocaml []
pattern has quit [Read error: 110 (Connection timed out)]
<LordBrain> Is there any particular rule of thumb about when we say "function" and when we just say "fun" ? or is it totally arbitrary? Why two key words?
ben_ has quit ["Leaving"]
Riastradh has quit [Read error: 104 (Connection reset by peer)]
<Smerdyakov> function has pattern matching. fun doesn't.
<Smerdyakov> fun supports currying shortcuts and function doesn't.
<drWorm> function only takes one argument, implicitly
pattern has joined #ocaml