pantsd has quit [Read error: 110 (Connection timed out)]
b00t has joined #ocaml
david_koontz has quit ["This computer has gone to sleep"]
noteventime has quit [Read error: 104 (Connection reset by peer)]
harlos has joined #ocaml
Smerdyakov has quit ["Leaving"]
Mr_Awesome has quit ["time to impregnate a moth"]
yminsky has joined #ocaml
yminsky has quit []
Submarine has quit ["in Soviet Russia, Céline Dion owns you"]
harlos has quit [Read error: 110 (Connection timed out)]
Mr_Awesome has joined #ocaml
harlos has joined #ocaml
<abez>
gaja: you probably will want to map your own little lib full of help functions like array_map2 list_mapn list_iteri list_mapi list_foldi array_foldi etc.
seafoodX has joined #ocaml
Mr_Awesome has quit ["time to impregnate a moth"]
Archville has left #ocaml []
eradman__ has left #ocaml []
b00t has quit [Remote closed the connection]
shawn has quit [Read error: 110 (Connection timed out)]
mav- has quit []
david_koontz has joined #ocaml
david_koontz has quit [Remote closed the connection]
shawn has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
shawn has joined #ocaml
shawn has quit [Connection timed out]
pango- has joined #ocaml
shawn has joined #ocaml
pango has quit [Remote closed the connection]
pango- is now known as pango
romanoffi has quit [Read error: 113 (No route to host)]
seafoodX has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
G_ has joined #ocaml
G has quit [Read error: 110 (Connection timed out)]
<gaja>
abez: In time I will probably end up doing that. For now I'm just playing with expressing small lisp functions in ocaml.
<flux>
gaja, you could use List.map (fun (a, b) = a + b) (List.combine [1] [2]) but that creates an intermediate list
<gaja>
List.map2 (+) li1 li2 does all I need for now. =)
<flux>
oh, I forgot there was that
<flux>
with a variety of 2-functions
netx has quit ["Leaving"]
<gaja>
I had no idea it existed. Just read the libs.
seafoodX has quit []
<gaja>
The pretty thing about all of it is in my mind the use of (+). More likable than lisps #'+
<flux>
btw, it might be a good idea to use ( + ) instead of (+), just to be uniform with the case ( * ) - (*) won't work..
<flux>
if you care about such things ;)
<gaja>
Uniform is good. But I don't understand what it is that wouldn't work.
<flux>
(* begins a comment
<gaja>
Ahh..
<gaja>
Didn't think about that. Will remember that.
Mr_Awesome has joined #ocaml
seafoodX has joined #ocaml
leo037 has joined #ocaml
Mr_Awesome has quit ["time to impregnate a moth"]
G has joined #ocaml
seafoodX_ has joined #ocaml
seafoodX has quit [Read error: 104 (Connection reset by peer)]
<tsuyoshi>
ok.. instead of adding the charsets I want to ocamlnet, I will just write an iconv wrapper
piggybox_ has joined #ocaml
G_ has quit [Connection timed out]
piggybox has quit [Read error: 110 (Connection timed out)]
shawn has joined #ocaml
netx has joined #ocaml
seafoodX_ has quit []
seafoodX has joined #ocaml
seafoodX_ has joined #ocaml
seafoodX has quit [Read error: 104 (Connection reset by peer)]
Cygal has joined #ocaml
Smerdyakov has joined #ocaml
Smerdyakov has quit ["Leaving"]
Cygal has quit [Read error: 104 (Connection reset by peer)]
piggybox has joined #ocaml
piggybox_ has quit [Read error: 110 (Connection timed out)]
Yucari has joined #ocaml
seafoodX_ has quit []
_blackdog has joined #ocaml
_blackdog has left #ocaml []
pantsd has joined #ocaml
pants1 has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
pantsd has quit [Read error: 110 (Connection timed out)]
romanoff1 has joined #ocaml
seafoodX has quit []
screwt8 has quit [Read error: 104 (Connection reset by peer)]
pango has quit [Remote closed the connection]
pango has joined #ocaml
leo037 has quit [Remote closed the connection]
leo037 has joined #ocaml
screwt8 has joined #ocaml
cmeme has quit ["Client terminated by server"]
cmeme has joined #ocaml
leo037-2 has joined #ocaml
leo037-2 has quit [Client Quit]
leo037 has quit ["Leaving"]
noteventime has joined #ocaml
slipstream has joined #ocaml
noteventime has quit [Remote closed the connection]
ygrek has joined #ocaml
noteventime has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
david_koontz has joined #ocaml
Submarine has joined #ocaml
screwt8 has quit [Remote closed the connection]
leo037 has joined #ocaml
TFK has joined #ocaml
sapan_ has joined #ocaml
piggybox_ has joined #ocaml
Cygal has joined #ocaml
piggybox has quit [Connection timed out]
ygrek has quit [Remote closed the connection]
shawn has quit [Connection timed out]
Cygal has quit [Remote closed the connection]
<TFK>
Howdy folks. Any idea on what "caml_copy_double" is (in a native profiler dump)?
ramkrsna_ has joined #ocaml
<romanoff1>
It copies a double precision value into the ocaml garbage collected memory space. That is, it boxes a double value so that the GC can keep track of it.
<TFK>
I must be making a lot of floats. It was called almost half a million of times.
<TFK>
err, half a billion.
Yucari has quit [Read error: 104 (Connection reset by peer)]
ramkrsna has quit [No route to host]
<romanoff1>
You can use float arrays to store your doubles in an unboxed way
<TFK>
I think I am.
<TFK>
Unless you mean float bigarrays.
shawn has joined #ocaml
<TFK>
And now I can't figure out how to use Big_int :-/
Mr_Awesome has joined #ocaml
<TFK>
"open Big_int;;" doesn't properly work, and I can't figure out where the object file I have to load is...
oracle1 has quit [simmons.freenode.net irc.freenode.net]
oracle1 has joined #ocaml
<romanoff1>
you need to load the "nums" library
oracle1 has quit [simmons.freenode.net irc.freenode.net]
oracle1 has joined #ocaml
<mbishop>
nums is just Big_int (and others, I think)
<TFK>
Thanks, it works.
<TFK>
This kind of stuff should be written in the docs...