ayrnieu changed the topic of #ocaml to: OCaml 3.08.4 available! Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
<pango> my definition of deln is totally broken :)
<pango> if n = 0 then q else h :: deln (n-1) q
<premchai21> What function is this supposed to be?
<pango> remove the nth element from a list
<pango> let deln n l =
<pango> let rec aux n l1 l2 =
<pango> match l1 with
<pango> | [] -> l
<pango> | h :: q -> if n = 0 then List.rev_append l2 q else aux (n-1) q (h :: l2) in
<pango> aux n l [] ;;
<premchai21> That looks about right, though I'd tend to raise Failure or something when the Nth element doesn't exist.
<pango> yes... anyway it was nicholas who asked why it wasn't in standard libs (and since went away)
<premchai21> Ah.
_fab has quit [Remote closed the connection]
Revision17 has quit [Read error: 104 (Connection reset by peer)]
Hipo_ is now known as Hipo
Revision17 has joined #ocaml
dylan is now known as klipper-as-dylan
dfgp has quit [Read error: 113 (No route to host)]
dfgp has joined #ocaml
premchai21 has quit ["Hey! Where'd my controlling terminal go?"]
shirogane has joined #ocaml
pango_ has joined #ocaml
iter has joined #ocaml
pango has quit [Read error: 145 (Connection timed out)]
OtherAlfie has left #ocaml []
vezenchio has joined #ocaml
shirogane has quit [Remote closed the connection]
albertelegance has quit ["Leaving"]
Snark has joined #ocaml
dfgp_ has joined #ocaml
dfgp has quit [Read error: 113 (No route to host)]
Submarine has joined #ocaml
chs_ has quit []
mlh has quit [Client Quit]
vodka-goo has quit []
pango_ has quit [Remote closed the connection]
Chipster1 has joined #ocaml
Chipster1 has left #ocaml []
descender has quit ["XML is like violence, if it doesn't solve the problem, just use more."]
pango has joined #ocaml
metaperl has joined #ocaml
brx_ has quit [Read error: 110 (Connection timed out)]
revision17_ has joined #ocaml
Revision17 has quit [Read error: 110 (Connection timed out)]
Bigb[a]ng is now known as Bigbang
Skal has joined #ocaml
dfgp has joined #ocaml
dfgp_ has quit [Read error: 110 (Connection timed out)]
pingoo has joined #ocaml
Bigbang is now known as Bigb[a]ng
lambdawar has quit [Remote closed the connection]
Schmurtz has joined #ocaml
Bigb[a]ng is now known as Bigbang
descender has joined #ocaml
klipper-as-dylan is now known as dylan
bernardo has joined #ocaml
descender has quit ["XML is like violence, if it doesn't solve the problem, just use more."]
kryptt has joined #ocaml
ppsmimou has joined #ocaml
Oatly has joined #ocaml
ramkrsna has joined #ocaml
Bigbang is now known as Bigb[a]ng
ramkrsna_ has joined #ocaml
Oatmeat has quit [Read error: 110 (Connection timed out)]
bernardo has quit [Nick collision from services.]
bernardo_ has joined #ocaml
Submarine has quit ["Leaving"]
ramkrsna has quit [No route to host]
chs_ has joined #ocaml
kryptt has left #ocaml []
dfgp has quit [Read error: 104 (Connection reset by peer)]
dfgp has joined #ocaml
descender has joined #ocaml
ramkrsna_ has quit [Connection timed out]
hyakume- has joined #ocaml
df2431 has joined #ocaml
df2431 has left #ocaml []
albertelegance has joined #ocaml
sebell has joined #ocaml
hyakume- has left #ocaml []
brx has joined #ocaml
hyakume- has joined #ocaml
albertelegance has quit ["Leaving"]
hyakume- has left #ocaml []
pingoo has quit ["Leaving"]
ramkrsna has joined #ocaml
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
sebell has quit ["Leaving"]
__DL__ has joined #ocaml
_fab has joined #ocaml
__DL__ has quit ["Bye Bye"]
__DL__ has joined #ocaml
Bigb[a]ng is now known as Bigbang
OtherAlfie has joined #ocaml
pango has quit ["Leaving"]
mrsolo has joined #ocaml
pattern has quit [Read error: 110 (Connection timed out)]
pango has joined #ocaml
batdog is now known as batdog|gone
batdog|gone is now known as batdog
vezenchio has quit ["\o/ hontou no kimochi kizukanai furi shite - totsuzen futari koi ni ochita no \o/"]
dfgp has quit [Read error: 113 (No route to host)]
ramkrsna has quit ["printk("Rusty's brain broke \n");"]
ppsmimou has quit ["Leaving"]
shirogane has joined #ocaml
brx has quit [Remote closed the connection]
brx has joined #ocaml
dfgp has joined #ocaml
smimou has joined #ocaml
mattam_ has joined #ocaml
Banana has quit [Read error: 104 (Connection reset by peer)]
Banana has joined #ocaml
mattam has quit [Connection reset by peer]
shirogane has quit [Read error: 104 (Connection reset by peer)]
pattern has joined #ocaml
khaladan has quit [Connection timed out]
__DL__ has quit [Remote closed the connection]
brx has quit [Read error: 104 (Connection reset by peer)]
brx has joined #ocaml
Snark has quit ["Parti"]
yakiste has joined #ocaml
mlh has joined #ocaml
<chs_> Bizarre CamlIDL problem: Even though I use ocamlc -custom -cclib -lcamlidl x_stubs.o ... I get the error:
<chs_> "undefined reference to `camlidl_free'" which is defined in libcamlidl.a
<chs_> Anybody any idea?
<chs_> The only unusual thing is that I link with C++ object files, but that should not be a problem since I use -cc "g++" as my linker.
brx has quit [Read error: 104 (Connection reset by peer)]
Submarine has joined #ocaml
brx has joined #ocaml
vodka-goo has joined #ocaml
albertelegance has joined #ocaml
brx has quit [Read error: 104 (Connection reset by peer)]
hegemoOn has joined #ocaml
dfgp_ has joined #ocaml
skylan_ has joined #ocaml
dfgp has quit [Read error: 110 (Connection timed out)]
skylan has quit [Connection timed out]
Skal has quit ["Client exiting"]
<vincenz> Hello
<ski_> evening, vincenz
bernardo_ has quit [Read error: 110 (Connection timed out)]
vodka-goo has quit []
Bigbang is now known as Bigb[a]ng
smimou has quit ["bli"]
vincenz has quit [Remote closed the connection]
mrsolo has quit [Remote closed the connection]