Skal has quit [Read error: 110 (Connection timed out)]
batdog is now known as batdog|gone
delamarche has joined #ocaml
Snark has joined #ocaml
dibblego has quit ["Leaving"]
david_koontz has quit ["This computer has gone to sleep"]
pauldia has joined #ocaml
love-pingoo has joined #ocaml
jave has quit [Read error: 104 (Connection reset by peer)]
lmbdwr has joined #ocaml
<lmbdwr>
#coq
<lmbdwr>
heh
<lmbdwr>
hi all
<lmbdwr>
lo all
<love-pingoo>
lo
slipstream-- has joined #ocaml
david_koontz has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
shawn has quit ["Leaving"]
m3ga has quit ["disappearing into the sunset"]
m3ga has joined #ocaml
dark_light has joined #ocaml
yondalf has joined #ocaml
Snark has quit ["Leaving"]
yondalf_ has joined #ocaml
yondalf has quit [Read error: 145 (Connection timed out)]
yondalf has joined #ocaml
yondalf_ has quit [Read error: 145 (Connection timed out)]
bzzbzz has quit ["leaving"]
yondalf_ has joined #ocaml
yondalf has quit [Read error: 145 (Connection timed out)]
pango_ is now known as pangoafk
yondalf_ has quit [Read error: 145 (Connection timed out)]
dark_light has quit ["Ex-Chat"]
yondalf has joined #ocaml
mikeX has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
yondalf_ has joined #ocaml
yondalf has quit [Read error: 145 (Connection timed out)]
yondalf_ has quit [Read error: 145 (Connection timed out)]
levi_hom1 has joined #ocaml
levi_home has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
pangoafk is now known as pango
slipstream-- has quit [Read error: 145 (Connection timed out)]
batdog|gone is now known as batdog
beschmi has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
delamarche has quit [Client Quit]
jajs has joined #ocaml
jajs has quit [Remote closed the connection]
jajs has joined #ocaml
clog_ has joined #ocaml
_fab has joined #ocaml
clog has quit [Read error: 110 (Connection timed out)]
clog_ is now known as clog
Leonidas has joined #ocaml
chessguy has quit [" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different"]
knobo has quit [Read error: 60 (Operation timed out)]
jp has joined #ocaml
knobo has joined #ocaml
delamarche has joined #ocaml
jp has left #ocaml []
<dan2>
love-pingoo: ahoy
postalchris has joined #ocaml
delamarche has quit [Client Quit]
jp has joined #ocaml
Snark has joined #ocaml
jajs has quit [Remote closed the connection]
jp has left #ocaml []
bluestorm has joined #ocaml
TSC has quit [Remote closed the connection]
seto has left #ocaml []
mikeX has quit [Read error: 145 (Connection timed out)]
mikeX has joined #ocaml
romildo has joined #ocaml
<romildo>
Hi.
<romildo>
Does ocaml put a limit on the number of arguments in a function application?
TSC has joined #ocaml
<romildo>
Because I have a program with a function with 25 arguments that runs ok on amd64 linux, but fails with a segmentation fault on x86.
<romildo>
When reduce in 1 the number of arguments, it does not segafult anymore.
chessguy has joined #ocaml
romildo has quit ["Leaving"]
<postalchris>
romildo: you've got to give us a minute!
Romildo has joined #ocaml
Romildo has quit [Client Quit]
romildo has joined #ocaml
<pango>
well, that looks like a bug ;) btw the number of parameters alone is not sufficient (made a simplistic example of function with 26 parameters, and it didn't segfault)
Snark has quit ["Leaving"]
<romildo>
Maybe it is because of the context I have used the function.
<romildo>
The function is called as the callback of a button on the lablgtk GUI of my application.
<bluestorm>
(the idea is to use a closure to hide the objet representation, while actually giving a way to compare)
<bluestorm>
(the code may be wrong)
<bluestorm>
do my method have drawbacks i don't see ? what's you opinion about it ?
<romildo>
pango: What do you think about these styles of programming (both are functional)?
<romildo>
let rec loop sum = function
<romildo>
| [] -> sum
<romildo>
| x::xs -> loop (sum + x) xs
<romildo>
in loop 0 numbers
<romildo>
and
<romildo>
List.fold_left (fun sum x -> sum + x) 0.0 numbers
<romildo>
Of course the first is more verbose. But would it be more efficient? Is there any reason one would prefer the first to the second?
<KirinDave>
Could someone give me some advice on building ocaml? I can't seem to get it to build at all, and the stock binaries for my platform won't let findlib install.