Jedai has quit [Read error: 60 (Operation timed out)]
whitty has left #ocaml []
holmak has joined #ocaml
seafood_ has joined #ocaml
holmak has quit ["Leaving"]
travisbrady has joined #ocaml
rhar has joined #ocaml
authentic has quit [SendQ exceeded]
verte has quit ["~~~ Crash in JIT!"]
verte has joined #ocaml
sbok_ has joined #ocaml
sbok has quit [Read error: 104 (Connection reset by peer)]
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
rwmjones_ has quit [Read error: 113 (No route to host)]
rhar has left #ocaml []
_zack has joined #ocaml
_zack has quit [Read error: 113 (No route to host)]
Jedai has joined #ocaml
_zack has joined #ocaml
authentic has joined #ocaml
slash_ has joined #ocaml
rwmjones_ has joined #ocaml
hkBst has joined #ocaml
buzz0r_ has joined #ocaml
seafood_ has quit []
mjs22 has joined #ocaml
mjs22 has left #ocaml []
LeCamarade|Away is now known as LeCamarade
sramsay has joined #ocaml
smimou has joined #ocaml
sramsay has quit ["Leaving"]
ulfdoz has joined #ocaml
Pepe_ has quit [Read error: 60 (Operation timed out)]
Pepe_ has joined #ocaml
gdmfsob has joined #ocaml
gdmfsob has quit [Read error: 60 (Operation timed out)]
ulfdoz has quit [Read error: 60 (Operation timed out)]
<kaustuv>
mfp: you have a much more charitable view of C++0x than me. To me concepts seems like the aborted foetus of generics a la Pizza (now Java Generics)
Snark has joined #ocaml
gdmfsob has joined #ocaml
mishok13 has quit [Nick collision from services.]
gdmfsob is now known as mishok13
gdmfsob has joined #ocaml
<wysek>
hey, how to print traceback?
Amorphous has quit [Read error: 110 (Connection timed out)]
<wysek>
(when an exception occurred)
<wysek>
I got: Thread 3 killed on uncaught exception Assert_failure("globals.ml", 9, 14)
<flux>
export OCAMLRUNPARAM=b
<flux>
compile with -g
<flux>
in that case you might not get a backtrace, though, because the thread default handler might eat it
<flux>
so you might want to wrap the function in the thread to a function that makes a call to Printexc.print_backtrace (or some such)
<wysek>
I don't use ocamlrun as I compile to native code
Amorphous has joined #ocaml
<flux>
it works nevertheles
<wysek>
ok Printexc.print_backtrace will be enough for me
<wysek>
thx
<flux>
you may need to enable backtrace collecting in the code if you don't want to use that environment variable
<wysek>
oh, OCAMLRUNPARAM=b worked
<wysek>
:)
<flux>
happy hacking :)
<wysek>
lol, somehow I forgot to initialize a var
<flux>
how does that happen in ocaml?-)
<wysek>
option
<wysek>
and:
<wysek>
let optionValue opt =
<wysek>
match opt with
<wysek>
| None -> assert (false)
<wysek>
| Some value -> value;;
<wysek>
I have sth like:
<flux>
so the value of the variable can be None sometimes?
<wysek>
one of the type1's argument is a function which needs to use type2 var
<wysek>
and vice-versa
<flux>
I'm not convinced, but then again, I don't have to write your program :)
<wysek>
I'm not convinced either
<wysek>
actually it's not my idea
<wysek>
I got some code and I'm developing it; I don't know any other solution though
_zack has quit [Remote closed the connection]
xavierbot has joined #ocaml
<xavierbot>
and /usr/bin/ocaml
xavierbot has quit [Remote closed the connection]
<Camarade_Tux>
the bot seems to be alive on its own, skynet will be an ocaml program ! \o/
<Camarade_Tux>
errrr, I mean, run!
<Camarade_Tux>
welll, actually I wanted to ask if anybody had made a cross-compiling ocaml here, it seems much simpler than I thought (I hadn't really read the wiki page about it)