smimou changed the topic of #ocaml to: OCaml 3.08.3 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/
mlh has quit [Client Quit]
mlh has joined #ocaml
calvin__ has joined #ocaml
noj_ has joined #ocaml
noj has quit [Remote closed the connection]
calvin_ has quit [Remote closed the connection]
mlh has quit [Client Quit]
mlh has joined #ocaml
mlh has quit [Client Quit]
mlh has joined #ocaml
mrsolo has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has joined #ocaml
Sefina has joined #ocaml
Sefina has left #ocaml []
Smerdyakov has quit ["see above"]
nowl has joined #ocaml
nowl has left #ocaml []
tautologico has joined #ocaml
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
Herrchen has joined #ocaml
Nutssh has joined #ocaml
Herrchen_ has quit [Read error: 110 (Connection timed out)]
joeytwiddle has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has joined #ocaml
Smerdyakov has quit ["gogogo"]
joeytwiddle has joined #ocaml
tautologico has quit ["Leaving"]
calvin__ is now known as calvin_
_shawn has quit [Client Quit]
_shawn has joined #ocaml
batdog is now known as batdog|gone
batdog|gone is now known as batdog
xinq has quit ["Leaving"]
Submarine has joined #ocaml
pango has quit [Remote closed the connection]
dan2 has joined #ocaml
mlh has quit [Client Quit]
Snark has joined #ocaml
mlh has joined #ocaml
pango has joined #ocaml
dan2_ has quit [Read error: 110 (Connection timed out)]
beta3 has joined #ocaml
smimou has joined #ocaml
dan2 has quit [Connection timed out]
mlh has quit [Client Quit]
<ulfdoz_> re
Nutssh has quit ["Client exiting"]
noj_ is now known as noj
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
Skal has joined #ocaml
Submarine has quit ["Leaving"]
Submarine has joined #ocaml
pattern_ has quit ["..."]
vezenchio has quit ["\o/ naméchtlazohtla in mochintin \o/"]
Zyroth has joined #ocaml
_batdog has joined #ocaml
<Zyroth> how can i convert a float to an integer?
batdog has quit [Read error: 110 (Connection timed out)]
<pango> int_of_float ?
<Zyroth> truncate =)
<pango> same thing
<Zyroth> ya
Zyr has joined #ocaml
Zyroth has quit [Read error: 110 (Connection timed out)]
beta3 is now known as dan2
Zyr has quit ["(sleep) Weblog: http://zyroth.ggnore.net"]
_batdog is now known as batdog|gone
batdog|gone is now known as batdog
pango has quit ["bbl"]
Submarine has quit ["Leaving"]
arcticd has joined #ocaml
Submarine has joined #ocaml
pango has joined #ocaml
arcticd has quit [Client Quit]
arcticd has joined #ocaml
Snark has quit ["Leaving"]
dan2 is now known as beta3
beta3 is now known as dan2
Zyr has joined #ocaml
<Zyr> is there something like a "do nothing" in ocaml?
<Zyr> like ; in java and pass in python?
<mflux_> (); maybe
<mflux_> (well, just plain () )
<mflux_> what are you trying to write?
_fab has quit [Remote closed the connection]
Submarine has quit ["Leaving"]
<TeXitoi> Zyr: why do you need such a strange thing?
<Zyr> mflux_: thx
<Zyr> I want ocaml to do nothing if an exception is raised
<pango> try something with _ -> ()
<Zyr> thx
<pango> actually it won't "do nothing", it will instead exit cleanly from the try ... with block
<pango> but I suppose that's what you meant
<Zyr> yes
<ulfdoz_> bye
Nutssh has joined #ocaml
<Zyr> is there something like "wait until key is pressed" in ocaml?
<Zyr> (hey, guess i ask dumb questions today"
<Zyr> )
<pango> select() ?
<pango> I mean, Unix.select ?
<Zyr> what would that be under mac os x?
<Zyr> the compiler doesnt know Unix
<pango> check the chapter on modules and separate compilation, you must link your program with unix.cma (bytecode) or unix.cmx (native)
<TeXitoi> unix.cmax
<pango> mmh even with select, stdin looks bufferized :/
<Zyr> well i can access unix.select
<Zyr> but its doing sth different
<TeXitoi> Zyr: you have too set your terminal in a certain mode to do such things
<TeXitoi> Zyr: something like "stty -icanon -echo"
<TeXitoi> see "man stty"
<Zyr> thx
arcticd has quit [Client Quit]
Zyr has quit ["Weblog: http://zyroth.ggnore.net"]
smimou has quit ["?"]
mfurr is now known as mfurr_away
mlh has joined #ocaml
Nutssh has quit ["Client exiting"]
Nutssh has joined #ocaml
vezenchio has joined #ocaml