gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
ski has quit [Ping timeout: 240 seconds]
schmx is now known as schmrkc
rks has quit [Read error: Operation timed out]
rks has joined #ocaml
mal`` has quit [Ping timeout: 265 seconds]
maskd has quit [Ping timeout: 245 seconds]
maskd has joined #ocaml
ce_CANTIK_cR_YG_ has joined #ocaml
ce_CANTIK_cR_YG_ has left #ocaml []
wuj has joined #ocaml
wuj has quit [Ping timeout: 265 seconds]
yezariaely has joined #ocaml
yezariaely has left #ocaml []
ski has joined #ocaml
pikachuyann has joined #ocaml
MilLionsOfLions has quit [Quit: installing a dirty african word brb]
mal`` has joined #ocaml
Indian-2010 has joined #ocaml
mjonsson has quit [Ping timeout: 265 seconds]
init1 has joined #ocaml
Elench` has joined #ocaml
Modius has quit [Quit: I'm big in Japan]
Elench has quit [Ping timeout: 265 seconds]
ikaros has joined #ocaml
Indian-2010 has left #ocaml []
schmrkc has left #ocaml []
ztfw has joined #ocaml
Indian-2010 has joined #ocaml
Fullma has quit [Ping timeout: 245 seconds]
Indian-2010 has left #ocaml []
SurfMaths has joined #ocaml
dark has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 255 seconds]
Amorphous has joined #ocaml
hto has quit [Read error: Connection reset by peer]
hto has joined #ocaml
wuj has joined #ocaml
Fullma has joined #ocaml
wuj has quit [Ping timeout: 265 seconds]
noptrix has joined #ocaml
noptrix has left #ocaml []
<albacker> http://pastebin.com/3pAAtR8Z i get this error while compiling
<albacker> File "composanteFC.ml", line 89, characters 18-19:
<albacker> Error: This expression has type
<albacker> Graph.Pack.Digraph.V.t -> Graph.Pack.Digraph.V.label Queue.t
<albacker> but an expression was expected of type 'a Queue.t
<albacker> (sorry for pasting >3 lines)
<adrien> composanteCFC takes two arguments and you've called it with only one
<albacker> awsome, thanks :)
<ski> that type error itself practially screams "missing argument in call" :)
<adrien> definitely, I almost answered that before taking a look at the code
<albacker> :)
<albacker> damn, not working algo.
emmanuelux has joined #ocaml
ftrvxmtrx has joined #ocaml
rmitt_ has joined #ocaml
Indian-2010 has joined #ocaml
gnuvince has joined #ocaml
joewilliams_away is now known as joewilliams
ftrvxmtrx has quit [Ping timeout: 276 seconds]
rks is now known as rks`
ftrvxmtrx has joined #ocaml
hto has quit [Read error: Connection reset by peer]
init1 has quit [Quit: Quitte]
init1 has joined #ocaml
Indian-2010 has left #ocaml []
ulfdoz has joined #ocaml
rwmjones_afk is now known as rwmjones
<init1> adrien: I'm on #ocaml channel :D
Smerdyakov has joined #ocaml
pikachuyann has quit [Remote host closed the connection]
pikachuyann has joined #ocaml
ulfdoz_ has joined #ocaml
Smerdyakov has quit [Quit: BRB]
ulfdoz has quit [Ping timeout: 260 seconds]
ulfdoz_ is now known as ulfdoz
Smerdyakov has joined #ocaml
pikachuyann has quit [Quit: cya]
BiDOrD has quit [Read error: Connection timed out]
BiDOrD_ has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
SurfMaths has left #ocaml []
gildor has quit [Ping timeout: 272 seconds]
khia0 has joined #ocaml
gildor has joined #ocaml
mfp has quit [Read error: Operation timed out]
init1 has quit [Quit: Quitte]
mfp has joined #ocaml
ikaros_ has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
agaminde has joined #ocaml
agaminde has left #ocaml []
khia0 has left #ocaml []
<hcube> hi! do you know anybody who is using ocaml on arm linux?
<hcube> just setted up a minimal arm linux in qemu virtal machine and tried to compile ocaml
<hcube> unfortunately it did not worked
<hcube> ocamlrun breaks at parsing/parser.ml with glibc exception: double free or corruption
ftrvxmtrx has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
<hcube> this is probably a gcc problem
ikaros_ has quit [Quit: Leave the magic to Houdini]
ikaros has quit [Quit: Leave the magic to Houdini]
<albacker> if i want to change the elements of an array from another function, should i make a ref array of int or array of ref int?
<albacker> i wonder if this is supposed to happen or no http://pastebin.com/jeJ91Dqp
<ski> arrays are mutable
ztfw has quit [Remote host closed the connection]
<ski> # let k = Array.make 10 true;;
<ski> # let f a = a.(0) <- false;;
<ski> &c.
<albacker> youre right.
<albacker> this is not the bug i was searching then. thanks.
<ski> (and btw, you got the behaviour you got there, since you had a (mutable) array, where each element pointed to the *same* reference cell, so when you changed it, that was reflected in *all* the elements)
rmitt_ has quit [Quit: Page closed]
<albacker> i see.
<ski> if you really wanted to create an array, with each (mutable) element initially containing a *different* (fresh) reference cell, you could do
<albacker> i think this also happend when i tried makin a matrix like Array.make 10 (Array.make 10 true);;
<ski> # let k = Array.init 10 (fun _ -> ref true);;
<albacker> ski: i see.
<albacker> thanks
<ski> when you used `Array.make', `ref true' was already evaluated before the call
<ski> using `Make.init', the current index is passed to the function argument (and is ignored by `_'), then evaluating `ref true' anew for each element
<albacker> Array.init :)
<albacker> thanks a lot.
<ski> np
<ski> (yeah, s/Make/Array/ .. dunno why i wrote `Make')
<ski> (good night)
<albacker> night :)
<albacker> 1am here
<manveru> good morning :)
<adrien> good night :P
<adrien> hcube: can't help, but mldonkey is used pretty much everywhere: arm ought to work
<albacker> how can i see the running time of a given algorithm?
<albacker> difference between 2 Unix.time outputs?