seafood has quit [Read error: 104 (Connection reset by peer)]
Associat0r has joined #ocaml
Associat0r has quit []
tocki has quit [Client Quit]
Modius has joined #ocaml
<Modius>
What's a clean idiomatic way to get make an array from "all of list except last element"?
holmak has joined #ocaml
holmak has quit [Client Quit]
jeddhaberstro has quit [Client Quit]
holmak has joined #ocaml
holmak has quit [Connection timed out]
holmak_ has joined #ocaml
holmak_ has quit [Connection timed out]
holmak has joined #ocaml
holmak has quit [Client Quit]
<flux>
modius, the idiomatic way would be not to do it ;-). a lazy man's way would be let drop_last l = List.rev (List.tail (List.rev l)), but an explicit recursive function will be faster (and tail-recursive given the List.tail of the standard library)
<Modius>
flux : Thanks, yeah I did the reverse thing. I guess fastest would be manually filling the array as the tail-recursive function could know the length without re-traversing.
smimou has joined #ocaml
seafood_ has quit []
julm has quit [Excess Flood]
julm has joined #ocaml
_zack has joined #ocaml
<Camarade_Tux>
hmmm, I can't find ocaml-gettext in godi =/
LeCamarade|Away is now known as LeCamarade
seafood has joined #ocaml
<Camarade_Tux>
kaustuv: I am installing marionnet now on this box (slackware) and had several problems: first, ocaml-gettext not available in godi, then marionnet tries to use ocamlbricks' (their own extlib afaik) Hashmap.to_list which doesn't exist, but Hashmap.to_alist exists, and last, it doesn't rely on ocamlfind (uses ocamlbuild hardcodes paths relative to the installation prefix)
seafood has quit [Client Quit]
caligula_ has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
schmx has quit [hubbard.freenode.net irc.freenode.net]
tarbo2_ has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
tomaw has quit [hubbard.freenode.net irc.freenode.net]
seafood has joined #ocaml
caligula_ has joined #ocaml
flux has joined #ocaml
schmx has joined #ocaml
tarbo2_ has joined #ocaml
nimred has joined #ocaml
tomaw has joined #ocaml
seafood has quit [Client Quit]
julm has quit [Excess Flood]
julm has joined #ocaml
<Camarade_Tux>
oh, nice :)
rwmjones has joined #ocaml
sramsay has joined #ocaml
hkBst has joined #ocaml
julm has left #ocaml []
sramsay has quit [Remote closed the connection]
sgnb has quit [Read error: 104 (Connection reset by peer)]
sgnb has joined #ocaml
smimou has quit ["bli"]
Jedai has quit ["When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net"]
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
Jedai has joined #ocaml
<Camarade_Tux>
bah, I can't get ghc for my computer and I need the two repos mentionned here http://wiki.marionnet.org/doku.php?id=documentation:darcs , is there anyone who can get them and make tarballs for me? =)
jmou has joined #ocaml
Associat0r has joined #ocaml
<Camarade_Tux>
I'll be using wget, should work
Associat0r has quit []
<Camarade_Tux>
well, wget worked great
Associat0r has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
seafood has joined #ocaml
Amorphous has joined #ocaml
jmou has left #ocaml []
_andre has joined #ocaml
Associat0r has quit []
seafood has quit []
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
angerman has joined #ocaml
angerman has quit []
angerman has joined #ocaml
bombshelter13_ has joined #ocaml
angerman has quit []
angerman has joined #ocaml
gim has quit []
gim has joined #ocaml
BiDOrD has quit [Read error: 110 (Connection timed out)]