kaustuv changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
travisbrady has quit []
Jedai has joined #ocaml
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> type app = { mutable x: type1 option; mutable y: type2 option ... }
<wysek> not really
<flux> why use an option type then?
<wysek> they depend on each other
<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)
_andre has joined #ocaml
<Camarade_Tux> and instead of cross-tool, one might use cross-tool-ng
buzz0r_ has quit ["Ex-Chat"]
_zack has joined #ocaml
Spiwack has joined #ocaml
<kaustuv> Camarade_Tux: I think only the Fedora people (rwmjones, etc.) have succeeded in cross compiling for a Windows target from a Unix host
<kaustuv> If there any Debian/Ubuntu ports of that, I'm very interested
* Camarade_Tux knows what he'll be doing tonight
<Camarade_Tux> :)
<Camarade_Tux> or the user-mode linux slackware filesystem and kernel
* Camarade_Tux away :)
schme has joined #ocaml
schme has quit [Client Quit]
willb1 has joined #ocaml
Snark has quit ["Ex-Chat"]
Snark has joined #ocaml
animist has quit [Read error: 104 (Connection reset by peer)]
bombshelter13_ has joined #ocaml
animist has joined #ocaml
palomer has joined #ocaml
<palomer> hullo!
<schmx> hallo
<palomer> how do I ocamldoc my library (given that it has external depedencies)
munga has joined #ocaml
komar_ has quit ["WeeChat 0.2.6.3-ohshi"]
_zack has quit ["Leaving."]
<mfp> palomer: use -I options with ocamldoc or ocamlfind ocamldoc -package whatever
<kaustuv> I wish Tuareg mode would not use C-c bindings when it also uses C-x bindings. (Eg. C-c C-e/C-x C-e)
animist has quit [Read error: 104 (Connection reset by peer)]
animist has joined #ocaml
<palomer> and how do I get ocamldoc to play nice with camlp4?
_zack has joined #ocaml
_zack has quit ["Leaving."]
<mfp> palomer: -pp "camlp4o whatever.cmo" or ocamlfind ocamldoc -package foo.syntax -syntax camlp4o
<mfp> (assuming that the syntax ext is in a findlib pkg in the latter case)
<palomer> man my types are ugly
willb1 has quit [Read error: 110 (Connection timed out)]
schmx is now known as schme
schme is now known as schmx
rwmjones_ has quit [Remote closed the connection]
_zack has joined #ocaml
rwmjones_ has joined #ocaml
travisbrady has quit []
ulfdoz has joined #ocaml
palomer has quit [Read error: 110 (Connection timed out)]
Spiwack has quit ["Leaving"]
amuck_ has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
willb1 has joined #ocaml
willb1 has quit [Read error: 104 (Connection reset by peer)]
dabd has joined #ocaml
travisbrady has joined #ocaml
dabd has quit [Client Quit]
sbok_ has quit [hubbard.freenode.net irc.freenode.net]
ppsmimou has quit [hubbard.freenode.net irc.freenode.net]
sbok has joined #ocaml
rwmjones_ has quit [Read error: 110 (Connection timed out)]
jeddhaberstro has joined #ocaml
jonafan_ has joined #ocaml
ppsmimou has joined #ocaml
flx_ has joined #ocaml
slash__ has joined #ocaml
caligula__ has joined #ocaml
jeddhaberstro has quit [hubbard.freenode.net irc.freenode.net]
travisbrady has quit [hubbard.freenode.net irc.freenode.net]
slash_ has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
caligula_ has quit [hubbard.freenode.net irc.freenode.net]
schmx has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
tomaw has quit [hubbard.freenode.net irc.freenode.net]
tarbo2_ has quit [hubbard.freenode.net irc.freenode.net]
jeddhaberstro has joined #ocaml
travisbrady has joined #ocaml
schmx has joined #ocaml
tarbo2_ has joined #ocaml
nimred has joined #ocaml
tomaw has joined #ocaml
jonafan has quit [Nick collision from services.]
jonafan_ is now known as jonafan
sbok has quit [hubbard.freenode.net irc.freenode.net]
sbok has joined #ocaml
LeCamarade is now known as LeCamarade|Away
sgnb` has joined #ocaml
authentic has quit [hubbard.freenode.net irc.freenode.net]
sgnb has quit [hubbard.freenode.net irc.freenode.net]
authentic has joined #ocaml
authentic has quit [Remote closed the connection]
authentic has joined #ocaml
flx_ has quit [hubbard.freenode.net irc.freenode.net]
flx_ has joined #ocaml
travisbrady has quit [hubbard.freenode.net irc.freenode.net]
schmx has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
tomaw has quit [hubbard.freenode.net irc.freenode.net]
tarbo2_ has quit [hubbard.freenode.net irc.freenode.net]
jeddhaberstro has quit [hubbard.freenode.net irc.freenode.net]
schmx has joined #ocaml
nimred has joined #ocaml
slash__ is now known as slash_
jeddhaberstro has joined #ocaml
travisbrady has joined #ocaml
Snark has quit [Remote closed the connection]
tomaw has joined #ocaml
tarbo2 has joined #ocaml
sramsay has joined #ocaml
mishok13 has quit [Read error: 110 (Connection timed out)]
mishok13 has joined #ocaml
slash_ has quit [Read error: 110 (Connection timed out)]
angerman has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
_zack has joined #ocaml
_andre has quit ["*puff*"]
<jonafan> i am finally installing batteries
<jonafan> godi has failed me
<jonafan> what is this pcre business? it seems to be a reoccurring problem
rwmjones_ has joined #ocaml
<mfp> jonafan: that change in the API that breaks old code?
<jonafan> ah
ulfdoz has joined #ocaml
hkBst has quit [Read error: 104 (Connection reset by peer)]
angerman has quit []
slash_ has joined #ocaml
smimou has quit ["bli"]
Jedai has quit [Read error: 113 (No route to host)]
ulfdoz has quit [Read error: 60 (Operation timed out)]
seafood has joined #ocaml
amuck_ has quit []
slash_ has quit [Client Quit]