00:31
Jondice has joined #ocaml
00:38
Jaundice has quit [Connection timed out]
00:39
avlondono has quit ["ChatZilla 0.9.52B [Mozilla rv:1.6/20040312]"]
00:41
Lemmih has joined #ocaml
00:42
LittleDa1 has joined #ocaml
00:43
<
LittleDa1 >
Does OCaml have any sort of bignum like Python and Ruby that can be arbitrary size?
00:44
<
mfurr >
there's the "Bignum" module :)
00:45
<
Riastradh >
Big_int, you mean.
00:45
<
LittleDa1 >
Is there a literal for it (like 20L)?
00:45
<
LittleDa1 >
(but not that because that's Int64)
00:46
<
reltuk >
I suppose you could make one with camlp4
00:47
<
reltuk >
you must need a really big literal...
00:47
<
LittleDa1 >
I just need zero
00:48
<
Riastradh >
Big_int.zero_big_int
00:48
<
LittleDa1 >
I found that, but it's more verbose than I was expecting
00:48
<
reltuk >
zero_big_int
00:48
<
Riastradh >
let zero = Big_int.zero_big_int
00:48
<
reltuk >
the maybe camlp5
00:49
<
mfurr >
camlp5 == pre-processor pretty printer please? :)
00:50
* mfurr
invisions a probablistic camlp4
00:50
<
LittleDa1 >
why is it Big_int.zero_big_int and not Big_int.zero?
00:50
<
Riastradh >
You're probably supposed to open the module rather than use qualified names.
00:51
LordBrain has quit ["Leaving"]
00:51
<
LittleDa1 >
but Int64 defines zero, one, to_int and from_int
00:51
<
LittleDa1 >
it doesn't look like it's supposed to be opened
00:52
The-Fixer has quit ["Goodbye"]
00:53
<
LittleDa1 >
why is that?
00:55
The-Fixer has joined #ocaml
00:56
mfurr has quit [""alcohol""]
01:06
LittleDa1 has left #ocaml []
01:13
bk_ has quit ["I'll be back"]
01:19
reltuk has quit [Remote closed the connection]
01:50
cjohnson has joined #ocaml
02:08
The-Fixer has quit ["Goodbye"]
03:05
Jondice has quit [Read error: 60 (Operation timed out)]
03:18
Jaundice has joined #ocaml
03:35
cjohnson has quit ["Drawn beyond the lines of reason"]
03:44
The-Fixer has joined #ocaml
03:44
Banana has quit [Read error: 104 (Connection reset by peer)]
03:49
gf2rewf has joined #ocaml
03:55
mattam has quit [Read error: 110 (Connection timed out)]
04:01
slashvar[typage] has quit [Read error: 110 (Connection timed out)]
04:05
Meta_ has joined #ocaml
04:19
Meta has quit [Read error: 110 (Connection timed out)]
04:35
Meta has joined #ocaml
04:40
Meta_ has quit [Read error: 60 (Operation timed out)]
04:51
mrsolo has quit [Read error: 54 (Connection reset by peer)]
05:37
bk_ has joined #ocaml
05:57
Jaundice has quit ["Leaving"]
07:27
gf2rewf has quit ["using sirc version 2.211+KSIRC/1.3.10"]
07:53
Nate75Sanders has joined #ocaml
08:14
Banana has joined #ocaml
09:43
_JusSx_ has joined #ocaml
10:22
mattam has joined #ocaml
10:26
bk_ has quit ["I'll be back"]
10:32
vegai has joined #ocaml
10:57
munga has joined #ocaml
11:14
bk_ has joined #ocaml
11:51
bk_ has quit ["I'll be back"]
12:13
munga has left #ocaml []
13:22
Jaundice has joined #ocaml
13:38
<
yella >
how can the compiler say a pattern-matching is not exhaustive when I use the "| _ ->" match at the end?
13:57
<
lucifer >
doesn't it show an unmatched pattern?
14:04
<
yella >
ah found the problem. I wrote a nested pattern match without ( ) around
14:13
Nate75Sanders has quit [Read error: 54 (Connection reset by peer)]
14:33
vegai has quit ["Terminated with extreme prejudice - dircproxy 1.1.0"]
15:03
agon292 has joined #ocaml
15:05
<
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
15:30
agon292 has quit ["BitchX: not from concentrate"]
15:40
wazze has joined #ocaml
17:18
maihem has joined #ocaml
17:28
maihem has quit ["Client exiting"]
17:44
mkorman has joined #ocaml
18:31
mfurr has joined #ocaml
18:37
cjohnson has joined #ocaml
19:02
drWorm has joined #ocaml
19:06
Tachyon76 has joined #ocaml
19:13
lus|wazze has joined #ocaml
19:25
wazze has quit [Read error: 110 (Connection timed out)]
19:46
_JusSx_ has quit ["BitchX: its shagadellic, baby!"]
19:54
gl has quit ["[BX] Hey baby, come sit on my lap. We'll talk about whatever pops up."]
19:55
gl has joined #ocaml
20:10
Tachyon76 has quit [Read error: 54 (Connection reset by peer)]
20:14
mkorman has quit ["Client exiting"]
20:28
Tachyon76 has joined #ocaml
20:43
Tachyon76 has quit ["Leaving"]
20:49
mfurr has quit [""feast with the rents""]
21:00
Jaundice has quit [Read error: 110 (Connection timed out)]
21:22
<
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/)
21:27
bk_ has joined #ocaml
21:36
malte has quit [Remote closed the connection]
21:37
Vekza has joined #ocaml
21:39
bk_ has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
21:39
bk_ has joined #ocaml
21:55
LordBrain has joined #ocaml
21:55
<
LordBrain >
i'm noticing some strange behavior in the interactive interpretter
21:56
<
LordBrain >
let rec range = function | 1 -> [0] | n -> range (n-1) @ [n-1];;
21:56
<
LordBrain >
List.iter (Printf.printf "A %i B \n") (range 10);;
21:57
<
LordBrain >
The above command only prints "A" one time, and prints "B" ten times..
21:57
<
LordBrain >
why is that?
21:57
<
Smerdyakov >
Printf is a mysterious beast.
21:58
<
Smerdyakov >
I don't think it has anything to do with the repl.
21:58
maihem has joined #ocaml
21:58
<
Smerdyakov >
"Read-eval-print loop"... the interactive environment
21:59
Dybbuk has quit [Remote closed the connection]
21:59
<
drWorm >
called a "toplevel" too?
22:00
Dybbuk has joined #ocaml
22:02
<
LordBrain >
So i should just consider Printf buggy?
22:04
<
Smerdyakov >
No. You should consider that you don't understand its semantics. :)
22:06
vegai has joined #ocaml
22:13
The-Fixer has quit [Success]
22:17
<
LordBrain >
Does anyone?
22:28
<
LordBrain >
in short, the key is not to pass partial applications of printf as parameters to other functions
22:42
reltuk has joined #ocaml
22:44
ben_ has joined #ocaml
22:49
reltuk has left #ocaml []
22:50
pattern has quit [Read error: 110 (Connection timed out)]
23:03
<
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?
23:12
ben_ has quit ["Leaving"]
23:35
Riastradh has quit [Read error: 104 (Connection reset by peer)]
23:43
<
Smerdyakov >
function has pattern matching. fun doesn't.
23:44
<
Smerdyakov >
fun supports currying shortcuts and function doesn't.
23:44
<
drWorm >
function only takes one argument, implicitly
23:52
pattern has joined #ocaml