<Axioplase>
with Invalid_argument -> failwith "too bad"; <---ain't this a good try ? it won't compile..
<Axioplase>
(erf, missing an arg)
<Smerdyakov>
The semicolons in that code are extraneous.
<Axioplase>
yep
<Xcalibor>
gotta go to bed... laters!
Xcalibor has quit ["Leaving"]
<Axioplase>
see ya
gim has quit ["dodo"]
Skal has quit ["Client exiting"]
Diablo has joined #ocaml
* Axioplase
's brain boils
vezenchio has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]
shrimpx has joined #ocaml
bk_ has joined #ocaml
teratorn has left #ocaml []
<Lemmih>
eeks... mod_caml is really buggy /-:
kinners has joined #ocaml
anyone has joined #ocaml
reltuk has joined #ocaml
Dybbuk has quit [Remote closed the connection]
Dybbuk has joined #ocaml
<Axioplase>
++
Axioplase has quit [Remote closed the connection]
GreyLensman has quit ["Leaving"]
Herrchen has quit [Read error: 110 (Connection timed out)]
kinners has quit [Read error: 60 (Operation timed out)]
anyone has quit ["To understand recursion, you must first understand recursion."]
Herrchen has joined #ocaml
Ospite1253317681 has joined #ocaml
Ospite1253317681 is now known as _JusSx_
Snark has joined #ocaml
<Snark>
slt
hobbit_savant has joined #ocaml
<hobbit_savant>
what up bana
<hobbit_savant>
what up banana
reltuk has quit ["User disconnected"]
gim has joined #ocaml
hobbit_savant has quit [SendQ exceeded]
maihem has joined #ocaml
kinners has joined #ocaml
GreyLensman has joined #ocaml
kinners has left #ocaml []
Axioplase has joined #ocaml
<Axioplase>
Hi!
vezenchio has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
vezenchio has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]
lus|uazze has joined #ocaml
vezenchio has joined #ocaml
noss has joined #ocaml
vezenchio has quit [Client Quit]
<Axioplase>
how can i print an array with Printf.printf? (so that it prints out as if i had just writter "array;" (but it s in a non unit func. that's why)
_JusSx_ has quit [Read error: 113 (No route to host)]
mattam_ is now known as mattam
cjohnson has joined #ocaml
<Diablo>
Axioplase: maybe with a map (does it work on arrays?)
<mellum>
I'd suggest Array.iter.
<Diablo>
does it works the same whay as a map on list?
<mellum>
No.
<Diablo>
it this i'll rtfm
<Axioplase>
foud out with a double loop as in C
<Axioplase>
+n
<Diablo>
a double loop isn't very elegant ;)
<Axioplase>
i know, but at least, i can test so that i see why i algo does some unwanted operations..
<Diablo>
yes
tea has joined #ocaml
reltuk has joined #ocaml
reltuk has quit [Client Quit]
GreyLensman has quit ["Leaving"]
maihem has quit ["Client exiting"]
bk_ has quit ["I'll be back"]
kwmarc has joined #ocaml
<kwmarc>
hello
mattam_ has joined #ocaml
maihem has joined #ocaml
buggs|afk has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
buggs^z has quit [Read error: 110 (Connection timed out)]
Godeke has quit [Client Quit]
Axioplase is now known as Phreaze
kwmarc has quit ["plop"]
<Snark>
re
<Snark>
does ocaml support some sort of design by contract?
<mellum>
It doesn't have any special language constructs for it, if you mean that
<Snark>
C doesn't either, but there are a few hacks around (assert functions of some sort)
<mellum>
Well, Ocaml does have an "assert", too.
* Snark
searches
hobbit_savant has joined #ocaml
hobbit_savant has left #ocaml []
gim has quit [Read error: 104 (Connection reset by peer)]
gim has joined #ocaml
Pied has joined #ocaml
noss has quit [Client Quit]
Phreaze has quit [Read error: 110 (Connection timed out)]
GreyLensman has joined #ocaml
<Snark>
good night
Snark has left #ocaml []
smimou has joined #ocaml
mattam_ is now known as mattam
mpn has joined #ocaml
lus|uazze has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]