smimou changed the topic of #ocaml to: Dicussions about the OCaml programming language | http://caml.inria.fr/
johnnowak has joined #ocaml
pango_ has joined #ocaml
klapmuetz has joined #ocaml
_fab has quit []
pango has quit [Remote closed the connection]
mikeX has quit ["zzZZz"]
bluestorm has quit ["Konversation terminated!"]
sponge45 has joined #ocaml
danly has quit ["Leaving"]
johnnowak has quit []
love-pingoo has quit ["Connection reset by pear"]
m3ga has joined #ocaml
llama32 has quit [Read error: 131 (Connection reset by peer)]
llama32 has joined #ocaml
joshcryer has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
ziggurat has joined #ocaml
buluca has quit ["Leaving."]
sponge45 has quit ["zzzzzzzzzz"]
sponge45 has joined #ocaml
joshcryer has quit [Read error: 104 (Connection reset by peer)]
joshcryer has joined #ocaml
ramkrsna has quit [Read error: 104 (Connection reset by peer)]
johnnowak has joined #ocaml
ramkrsna has joined #ocaml
Smerdyakov has quit ["Leaving"]
dbueno has joined #ocaml
<dbueno> Is there a way to tell ocamlfind to use ocamldoc.opt? `ocamlfind ocamldoc.opt ...' gives an error message
dbueno has quit ["Leaving"]
sponge45 has quit ["zzzzzzzzzz"]
llama32 has quit [Read error: 131 (Connection reset by peer)]
ramkrsna has quit [Remote closed the connection]
ikaros has quit [Read error: 60 (Operation timed out)]
ziggurat has quit [brown.freenode.net irc.freenode.net]
klapmuetz has quit [brown.freenode.net irc.freenode.net]
seafood_ has quit [brown.freenode.net irc.freenode.net]
Ballin_05 has quit [brown.freenode.net irc.freenode.net]
seafood has quit [brown.freenode.net irc.freenode.net]
bebui has quit [brown.freenode.net irc.freenode.net]
bzzbzz has quit [brown.freenode.net irc.freenode.net]
ozzloy has quit [brown.freenode.net irc.freenode.net]
TaXules has quit [brown.freenode.net irc.freenode.net]
Hadaka has quit [brown.freenode.net irc.freenode.net]
Shimei has quit [brown.freenode.net irc.freenode.net]
mahogny has quit [brown.freenode.net irc.freenode.net]
Demitar_ has quit [brown.freenode.net irc.freenode.net]
pattern has quit [brown.freenode.net irc.freenode.net]
Oatmeat|umn has quit [brown.freenode.net irc.freenode.net]
johnnowak has quit [brown.freenode.net irc.freenode.net]
joshcryer has quit [brown.freenode.net irc.freenode.net]
shawn has quit [brown.freenode.net irc.freenode.net]
cmeme has quit [brown.freenode.net irc.freenode.net]
pingu has quit [brown.freenode.net irc.freenode.net]
flux__ has quit [brown.freenode.net irc.freenode.net]
ulfdoz has quit [brown.freenode.net irc.freenode.net]
setog3 has quit [brown.freenode.net irc.freenode.net]
descender has quit [brown.freenode.net irc.freenode.net]
mellum has quit [brown.freenode.net irc.freenode.net]
DRMacIver has quit [brown.freenode.net irc.freenode.net]
datrus has quit [brown.freenode.net irc.freenode.net]
ramkrsna has joined #ocaml
ikaros has joined #ocaml
johnnowak has joined #ocaml
joshcryer has joined #ocaml
ziggurat has joined #ocaml
klapmuetz has joined #ocaml
seafood_ has joined #ocaml
shawn has joined #ocaml
Demitar_ has joined #ocaml
setog3 has joined #ocaml
cmeme has joined #ocaml
Ballin_05 has joined #ocaml
descender has joined #ocaml
mahogny has joined #ocaml
mellum has joined #ocaml
pingu has joined #ocaml
bzzbzz has joined #ocaml
seafood has joined #ocaml
DRMacIver has joined #ocaml
bebui has joined #ocaml
datrus has joined #ocaml
ozzloy has joined #ocaml
flux__ has joined #ocaml
TaXules has joined #ocaml
Hadaka has joined #ocaml
ulfdoz has joined #ocaml
pattern has joined #ocaml
Oatmeat|umn has joined #ocaml
Shimei has joined #ocaml
<flux__> dbhwy.not simply replace ocamldoc with ocamldoc.opt?
_velco has joined #ocaml
descender has quit [Read error: 60 (Operation timed out)]
pango_ has quit [Remote closed the connection]
pango has joined #ocaml
mon is now known as overmon
overmon is now known as mon
mon is now known as delamon
_fab has joined #ocaml
johnnowak has quit []
juhe has joined #ocaml
<juhe> Hello people, is there a constant in ocaml that represents the maximum float value that fits into float type number (something like FLOAT_MAX)?
<flux__> I can't recall one off-hand, but check out the Sys and Pervasives-modules?
<juhe> ok, thanks for tip
<juhe> yep, it's max_float :-)
love-pingoo has joined #ocaml
Skal has joined #ocaml
mnemonic has joined #ocaml
<mnemonic> hi
slipstream-- has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
setog3 has quit [Read error: 60 (Operation timed out)]
mnemonic has quit ["leaving"]
gim has quit []
gim has joined #ocaml
damg_ has joined #ocaml
setog3 has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
descender has joined #ocaml
triple_ has quit [Nick collision from services.]
triple_ has joined #ocaml
llama33 has joined #ocaml
<llama33> is there a way to throw/catch/define an exception in a way that if a handler isn't found, execution is just continued and the error ignored [e.g. for warnings that may be worth noticing, but generally aren't]?
llama32 has joined #ocaml
<llama32> damn dialup!
<love-pingoo> can you do "try main () with e -> print_warning e" ?
<llama32> im thinking for ease of coding [it's a libary]...
<llama32> basically, it tries to connect to a server - but it has a fallback mechanism if the server's not available. sometimes it will matter, generally it won't... but it would probably be better to have say init which uses the fallback if unable to connect, and force_init that throws an exception
<flux__> well, you can have that
<flux__> just do it :-)
<flux__> like love-pingoo wrote
<pango> Printexc.print main () or Printexc.catch main () ...
<love-pingoo> hi pango
<love-pingoo> I'm playing with ocaml-3.09.3-memprof right now ;)
<pango> mmh will reraise the exception however
<love-pingoo> it dumps heaps, but heapstats fails to load heapfiles (it tries to create a too huge string for globals_map, if it means something to you)
<pango> love-pingoo: do you get interesting results ?
<love-pingoo> (sometimes it segfaults when trying to dump heaps, but it may be because our heap is trashed :))
<love-pingoo> pango: I'm trying to see the result of a simple file for now, then I'll try to figure out why it segfaults on large profs
<love-pingoo> s/profs/progs/
<pango> ok
<pango> llama32: also worth checking: resumable exceptions http://caml.inria.fr/cgi-bin/hump.fr.cgi?contrib=523
llama33 has quit [Read error: 110 (Connection timed out)]
damg_ has quit ["Verlassend"]
<love-pingoo> dbaelde@sci1:~$ ls *ps
<love-pingoo> blocks_per_type.451.ps sizes_per_type.451.ps
<love-pingoo> phew.. finally got something
<pango> llama32: mmh I think it creates new kind of exceptions (using standard exceptions, but still), not making existing exceptions resumable...
<llama32> is there some kind of per-thread place i can store data?
<pango> if there's, it's not exported by the standard lib...
<llama32> damn
<llama32> how about a way to get a pointer to the current thread's info, or better yet, the number of the current thread [of the form 0, 1, 2, ... rather than random pointers to 0x3f389d]?
<pango> you can use Thread.self (), or maybe Thread.id (Thread.self ()) as an index ?
<love-pingoo> Thread.id is for you
<love-pingoo> too late :)
<llama32> ok, thanks
<llama32> is there any runtime speed penalty with optional arguments?
<love-pingoo> nothing at all
<pango> with, or without default value ?
<llama32> sweet
<llama32> with default
<llama32> im off to bed
llama32 has left #ocaml []
descender has quit [Read error: 104 (Connection reset by peer)]
descender has joined #ocaml
<love-pingoo> IT WORKS !
<love-pingoo> but I'll crash the disk with 16hours of heap dumps...
juhe has quit ["Leaving"]
shawn has quit [Read error: 110 (Connection timed out)]
Leonidas has joined #ocaml
bmiller has joined #ocaml
Smerdyakov has joined #ocaml
bmiller has quit [" "]
bmiller has joined #ocaml
rashnu has joined #ocaml
<rashnu> can someone tell me where's the error in this http://nopaste.php-q.net/257438
<Smerdyakov> Simple syntax error. You begin a 'let' binding of nLista but never end it.
<rashnu> doesnt it end in the else?
mnemonic has joined #ocaml
<Smerdyakov> No. Every 'let' expression has an 'in'.
<love-pingoo> except at toplevel
<Smerdyakov> Those aren't 'let' _expressions_, you see.
<mnemonic> re
love-pingoo has quit ["Leaving"]
<pango> rashnu: hint, where is the "main body" of your gera_env function ?
danly has joined #ocaml
buluca has joined #ocaml
smimou has joined #ocaml
stevan__ has joined #ocaml
stevan_ has quit [Read error: 110 (Connection timed out)]
bluestorm has joined #ocaml
mnemonic has quit ["leaving"]
_velco has quit [Read error: 110 (Connection timed out)]
danly has quit ["Leaving"]
ulfdoz has quit [Read error: 54 (Connection reset by peer)]
ulfdoz has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
bzzbzz has quit ["Lost terminal"]
_fab has quit [Read error: 60 (Operation timed out)]
_fab has joined #ocaml
ziggurat has quit ["This computer has gone to sleep"]
ziggurat has joined #ocaml
rillig has joined #ocaml
malc_ has joined #ocaml
ziggurat has quit ["This computer has gone to sleep"]
ziggurat has joined #ocaml
rashnu has quit []
rillig has quit ["exit(EXIT_SUCCESS)"]
seto_ has joined #ocaml
<seto_> how to convert int to string ?
<seto_> like 2 -> string_of_int 2 ;;
buluca has quit [Remote closed the connection]
<seto_> ho with %d ..
<seto_> hmm no %d is for printf
<seto_> hmm string_of_int exist
seto_ has quit ["Leaving"]
Leonidas has quit ["An ideal world is left as an exercise to the reader"]
Skal has quit [Read error: 104 (Connection reset by peer)]