cloupsy has quit [Read error: 111 (Connection refused)]
Jeff_123 has joined #ocaml
hsuh has quit ["bye guys"]
jlouis has joined #ocaml
smimou has quit ["bli"]
jlouis has quit [Remote closed the connection]
jlouis has joined #ocaml
jlouis_ has quit [Read error: 110 (Connection timed out)]
authentic has joined #ocaml
yminsky has joined #ocaml
ita has quit ["Hasta luego!"]
yminsky has quit [Read error: 110 (Connection timed out)]
yminsky has joined #ocaml
yminsky has quit [Client Quit]
pattern has quit [kubrick.freenode.net irc.freenode.net]
fbvortex has quit [kubrick.freenode.net irc.freenode.net]
rwmjones has quit [kubrick.freenode.net irc.freenode.net]
kmeyer has quit [kubrick.freenode.net irc.freenode.net]
gaja has quit [kubrick.freenode.net irc.freenode.net]
zmdkrbou has quit [kubrick.freenode.net irc.freenode.net]
jdavis_ has quit [kubrick.freenode.net irc.freenode.net]
jeremiah has quit [kubrick.freenode.net irc.freenode.net]
Jedai has quit [kubrick.freenode.net irc.freenode.net]
Jeff_123 has quit [kubrick.freenode.net irc.freenode.net]
mrsolo has quit [kubrick.freenode.net irc.freenode.net]
Sparkles has quit [kubrick.freenode.net irc.freenode.net]
cmeme has quit [kubrick.freenode.net irc.freenode.net]
opening has quit [kubrick.freenode.net irc.freenode.net]
det has quit [kubrick.freenode.net irc.freenode.net]
bzzbzz has quit [kubrick.freenode.net irc.freenode.net]
rogo has quit [kubrick.freenode.net irc.freenode.net]
seafood has quit [kubrick.freenode.net irc.freenode.net]
bebui has quit [kubrick.freenode.net irc.freenode.net]
richardw has quit [kubrick.freenode.net irc.freenode.net]
mattam has quit [kubrick.freenode.net irc.freenode.net]
jlouis has quit [kubrick.freenode.net irc.freenode.net]
buluca has quit [kubrick.freenode.net irc.freenode.net]
|Catch22| has quit [kubrick.freenode.net irc.freenode.net]
tsuyoshi has quit [kubrick.freenode.net irc.freenode.net]
gunark has quit [kubrick.freenode.net irc.freenode.net]
jave has quit [kubrick.freenode.net irc.freenode.net]
Smerdyakov has quit [kubrick.freenode.net irc.freenode.net]
unfo- has quit [kubrick.freenode.net irc.freenode.net]
cygnus_ has quit [kubrick.freenode.net irc.freenode.net]
Hadaka has quit [kubrick.freenode.net irc.freenode.net]
flux has quit [kubrick.freenode.net irc.freenode.net]
l_a_m has quit [kubrick.freenode.net irc.freenode.net]
cloupsy` has quit [kubrick.freenode.net irc.freenode.net]
jonafan has quit [kubrick.freenode.net irc.freenode.net]
Demitar has quit [kubrick.freenode.net irc.freenode.net]
Tov_enst has quit [kubrick.freenode.net irc.freenode.net]
ulfdoz has quit [kubrick.freenode.net irc.freenode.net]
__suri has quit [kubrick.freenode.net irc.freenode.net]
eroyf has quit [kubrick.freenode.net irc.freenode.net]
guyzmo has quit [kubrick.freenode.net irc.freenode.net]
acatout has quit [kubrick.freenode.net irc.freenode.net]
TaXules has quit [kubrick.freenode.net irc.freenode.net]
authentic has quit [kubrick.freenode.net irc.freenode.net]
kelaouchi has quit [kubrick.freenode.net irc.freenode.net]
bla has quit [kubrick.freenode.net irc.freenode.net]
mbishop has quit [kubrick.freenode.net irc.freenode.net]
svenl_ has quit [kubrick.freenode.net irc.freenode.net]
gim has quit [kubrick.freenode.net irc.freenode.net]
hcarty has quit [kubrick.freenode.net irc.freenode.net]
kelaouch1 has joined #ocaml
cygnus_ has joined #ocaml
jlouis_ has joined #ocaml
authentic has joined #ocaml
jlouis has joined #ocaml
Jeff_123 has joined #ocaml
cloupsy` has joined #ocaml
bzzbzz has joined #ocaml
buluca has joined #ocaml
kelaouchi has joined #ocaml
pattern has joined #ocaml
mbishop has joined #ocaml
Jedai has joined #ocaml
mrsolo has joined #ocaml
jonafan has joined #ocaml
|Catch22| has joined #ocaml
rogo has joined #ocaml
Demitar has joined #ocaml
ulfdoz has joined #ocaml
__suri has joined #ocaml
Sparkles has joined #ocaml
fbvortex has joined #ocaml
cmeme has joined #ocaml
opening has joined #ocaml
seafood has joined #ocaml
tsuyoshi has joined #ocaml
gunark has joined #ocaml
jave has joined #ocaml
rwmjones has joined #ocaml
kmeyer has joined #ocaml
bebui has joined #ocaml
gaja has joined #ocaml
zmdkrbou has joined #ocaml
richardw has joined #ocaml
Hadaka has joined #ocaml
eroyf has joined #ocaml
l_a_m has joined #ocaml
det has joined #ocaml
svenl_ has joined #ocaml
jdavis_ has joined #ocaml
jeremiah has joined #ocaml
mattam has joined #ocaml
flux has joined #ocaml
Tov_enst has joined #ocaml
gim has joined #ocaml
bla has joined #ocaml
guyzmo has joined #ocaml
Smerdyakov has joined #ocaml
TaXules has joined #ocaml
unfo- has joined #ocaml
acatout has joined #ocaml
hcarty has joined #ocaml
kelaouchi has quit [Connection reset by peer]
jlouis has quit [Connection timed out]
cygnus_ has quit [kubrick.freenode.net irc.freenode.net]
cygnus_ has joined #ocaml
cygnus_ has quit [kubrick.freenode.net irc.freenode.net]
jdavis_ has quit [kubrick.freenode.net irc.freenode.net]
rwmjones has quit [kubrick.freenode.net irc.freenode.net]
fbvortex has quit [kubrick.freenode.net irc.freenode.net]
pattern has quit [kubrick.freenode.net irc.freenode.net]
gaja has quit [kubrick.freenode.net irc.freenode.net]
kmeyer has quit [kubrick.freenode.net irc.freenode.net]
jeremiah has quit [kubrick.freenode.net irc.freenode.net]
zmdkrbou has quit [kubrick.freenode.net irc.freenode.net]
Jedai has quit [kubrick.freenode.net irc.freenode.net]
Jeff_123 has quit [kubrick.freenode.net irc.freenode.net]
mrsolo has quit [kubrick.freenode.net irc.freenode.net]
opening has quit [kubrick.freenode.net irc.freenode.net]
Sparkles has quit [kubrick.freenode.net irc.freenode.net]
det has quit [kubrick.freenode.net irc.freenode.net]
cmeme has quit [kubrick.freenode.net irc.freenode.net]
rogo has quit [kubrick.freenode.net irc.freenode.net]
seafood has quit [kubrick.freenode.net irc.freenode.net]
bzzbzz has quit [kubrick.freenode.net irc.freenode.net]
richardw has quit [kubrick.freenode.net irc.freenode.net]
mattam has quit [kubrick.freenode.net irc.freenode.net]
bebui has quit [kubrick.freenode.net irc.freenode.net]
tsuyoshi has quit [kubrick.freenode.net irc.freenode.net]
|Catch22| has quit [kubrick.freenode.net irc.freenode.net]
gunark has quit [kubrick.freenode.net irc.freenode.net]
jave has quit [kubrick.freenode.net irc.freenode.net]
unfo- has quit [kubrick.freenode.net irc.freenode.net]
Smerdyakov has quit [kubrick.freenode.net irc.freenode.net]
buluca has quit [kubrick.freenode.net irc.freenode.net]
Hadaka has quit [kubrick.freenode.net irc.freenode.net]
flux has quit [kubrick.freenode.net irc.freenode.net]
l_a_m has quit [kubrick.freenode.net irc.freenode.net]
cloupsy` has quit [kubrick.freenode.net irc.freenode.net]
Tov_enst has quit [kubrick.freenode.net irc.freenode.net]
jonafan has quit [kubrick.freenode.net irc.freenode.net]
jlouis_ has quit [kubrick.freenode.net irc.freenode.net]
Demitar has quit [kubrick.freenode.net irc.freenode.net]
ulfdoz has quit [kubrick.freenode.net irc.freenode.net]
guyzmo has quit [kubrick.freenode.net irc.freenode.net]
__suri has quit [kubrick.freenode.net irc.freenode.net]
acatout has quit [kubrick.freenode.net irc.freenode.net]
TaXules has quit [kubrick.freenode.net irc.freenode.net]
eroyf has quit [kubrick.freenode.net irc.freenode.net]
bla has quit [kubrick.freenode.net irc.freenode.net]
authentic has quit [kubrick.freenode.net irc.freenode.net]
hcarty has quit [kubrick.freenode.net irc.freenode.net]
svenl_ has quit [kubrick.freenode.net irc.freenode.net]
gim has quit [kubrick.freenode.net irc.freenode.net]
mbishop has quit [kubrick.freenode.net irc.freenode.net]
kelaouch1 has quit [Read error: 104 (Connection reset by peer)]
pantsd has joined #ocaml
clog has joined #ocaml
Oatskool has joined #ocaml
<hcarty>
Is there any harm in using Double_val(Field(foo, n)) for tuples of doubles?
<hcarty>
Using Double_field() on a return value from a polymorphic function seems to cause a segfault
<tsuyoshi>
hrm.. sometimes with polymorphic functions, they still box the floats
<tsuyoshi>
that's probably your problem
<tsuyoshi>
in which case you need to use Double_val(Field())
Yoric[DT] has joined #ocaml
<hcarty>
If I create a set_callback callback function which takes a (float -> float -> (float * float)) argument and sets that up as the callback - is it still treated like a polymorphic function here?
<hcarty>
"it" being the function passed to set_callback
<Yoric[DT]>
hi
<Yoric[DT]>
hcarty: what do you mean ?
<Yoric[DT]>
I assume that your function will remain 'a -> 'a -> ('a * 'a)
<tsuyoshi>
uhm.. I think what matters is how the c function is typed
pants1 has quit [Connection timed out]
pants1 has joined #ocaml
<Yoric[DT]>
and not '_a -> '_a -> ('_a * '_a)
<hcarty>
Yoric[DT]: I'm working on a C library wrapper which needs callbacks in a few places
<tsuyoshi>
if the c function gets an array/tuple/record of 'a, and 'a is float, the floats will be boxed
pants2 has joined #ocaml
Oatschool has quit [Connection timed out]
<hcarty>
The values are always used as floats in the C function. But as long as it's safe to treat an unboxed float tuple in the same way as a boxed othertype tuple I'll just leave the code as is
pants3 has joined #ocaml
* Yoric[DT]
never integrated C code inside OCaml.
pants4 has joined #ocaml
pants5 has joined #ocaml
pants3 has quit [Read error: 104 (Connection reset by peer)]
pants6 has joined #ocaml
pants1 has quit [No route to host]
pants2 has quit [Read error: 110 (Connection timed out)]
mbishop has quit [Remote closed the connection]
<hcarty>
It all seems to work now. Thanks very much for the help.
pants4 has quit [Read error: 110 (Connection timed out)]
pants5 has quit [Read error: 110 (Connection timed out)]
pants6 has quit [Read error: 110 (Connection timed out)]
cloupsy` has left #ocaml []
cloupsy has joined #ocaml
pants4 has joined #ocaml
seafood_ has quit []
pants5 has joined #ocaml
seafood_ has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
seafood_ has quit [Client Quit]
pants7 has joined #ocaml
pants4 has quit [Connection timed out]
pants5 has quit [Read error: 110 (Connection timed out)]
pants7 has quit [Connection timed out]
sadmac has joined #ocaml
<sadmac>
I'm a 3rd year CSC student. I know C, Python, and Ruby at an advanced level. What book should I use to learn OCaml?
<kmeyer>
I found the ocaml-tutorial.org site very useful for an intro
<kmeyer>
(I would say I know C and Ruby at an intermediate level :-))
<Jeff_123>
there's a free book avialable
<sadmac>
kmeyer: C I'm definitely hard core at. Ruby... every time I think I've got it I find something new to explore