mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
eldragon has quit [Read error: Connection reset by peer]
eldragon has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
ccasin has quit [Quit: Leaving]
neorab has quit [Ping timeout: 240 seconds]
jonludlam has quit [Ping timeout: 240 seconds]
orbitz has quit [Read error: Connection reset by peer]
orbitz has joined #ocaml
schme has quit [Ping timeout: 240 seconds]
jonludlam has joined #ocaml
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
M| has quit [Ping timeout: 276 seconds]
segmond has quit [Ping timeout: 260 seconds]
valross has joined #ocaml
neorab has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
<neorab> can anyone recommend a good Ocaml book? I want to fill in my book shelf with dead trees covered in awesome...
<orbitz> I don't know of any
<orbitz> ocaml website prob says
<neorab> maybe I'll take the libref to a print shop, heh
oriba has joined #ocaml
jakedouglas has joined #ocaml
ulfdoz has joined #ocaml
Yoric has joined #ocaml
schme has quit [Ping timeout: 260 seconds]
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
oriba has quit [Quit: Verlassend]
enthymeme has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 248 seconds]
Submarine has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
peddie_ has quit [Ping timeout: 260 seconds]
ygrek has joined #ocaml
peddie has joined #ocaml
drk-sd has joined #ocaml
ttamttam has joined #ocaml
oc13 has joined #ocaml
f[x] has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
Yoric has quit [Quit: Yoric]
ftrvxmtrx has joined #ocaml
ftrvxmtrx_ has joined #ocaml
Gooffy has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 264 seconds]
Submarine has quit [Quit: Leaving]
ygrek has joined #ocaml
ftrvxmtrx_ is now known as ftrvxmtrx
marchdown has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
drk-sd has quit [Quit: ffuuuu]
ikaros has joined #ocaml
marchdown has quit [Read error: Connection reset by peer]
marchdown has joined #ocaml
marchdown has quit [Remote host closed the connection]
avsm has joined #ocaml
munga has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
leino has joined #ocaml
boscop has joined #ocaml
Obfuscate has joined #ocaml
leino has quit [Quit: leaving]
leino has joined #ocaml
leino has quit [Client Quit]
leino has joined #ocaml
oriba has joined #ocaml
leino has quit [Client Quit]
leino has joined #ocaml
leino has quit [Client Quit]
oriba has quit [Client Quit]
leino has joined #ocaml
leino has quit [Client Quit]
drk-sd has joined #ocaml
leino has joined #ocaml
leino has quit [Client Quit]
leino has joined #ocaml
leino has quit [Client Quit]
lajla is now known as lajl0rz
lajl0rz is now known as Lajla
oriba has joined #ocaml
drk-sd has quit [Quit: foo]
oriba has quit [Quit: Verlassend]
derdon has joined #ocaml
ikaros has quit [Ping timeout: 240 seconds]
ikaros has joined #ocaml
ikaros has quit [Client Quit]
boscop has quit []
<derdon> what abouting adding the function ``poplast`` to the module ``BatRefList`` from the batteries, thelema ?
_andre has joined #ocaml
marchdown has joined #ocaml
marchdown has quit [Excess Flood]
marchdown has joined #ocaml
stekikun has joined #ocaml
drk-sd has joined #ocaml
drk-sd has quit [Client Quit]
thieusoai has joined #ocaml
thieusoai has quit [Quit: thieusoai]
barismetin has joined #ocaml
Gooffy has left #ocaml []
ftrvxmtrx has quit [Quit: Leaving]
ikaros has joined #ocaml
ftrvxmtrx has joined #ocaml
valross has quit [Quit: Ex-Chat]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
boscop has joined #ocaml
marchdown has quit [Quit: marchdown]
<th5> Does anyone know how to properly setup emacs? I'm setting up a computer and can't remember... Do most people use the .el files that come with the std dist + tuareg mode (or is it an either or)?
<orbitz> i do
<orbitz> you can compile them
marchdown has joined #ocaml
<th5> and use both? (i think i remember C-c C-t wasn't in tuareg)
<th5> are there other emacs modes that are helpful? I use OCamlspotter (which i highly recommend even though its a pain to install)
ftrvxmtrx has quit [Remote host closed the connection]
itewsh has joined #ocaml
ftrvxmtrx has joined #ocaml
jakedouglas has joined #ocaml
jakedouglas has quit [Client Quit]
jakedouglas has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
marchdown has quit [Read error: Connection reset by peer]
sepp2k has joined #ocaml
<adrien> anyone has experience with the fuse bindings?
<gildor> adrien: ask mrvn (but he is not here right now)
<adrien> I want to write a fuse-based implementation of xfs (the filesystem) and I can't decide: C or ocaml
<adrien> been away for a while
<adrien> (haven't gotten my power supply back btw >< )
<gildor> you want his email address ?
<adrien> nah, I'll wait a bit more, I have quite a lot of doc to read first ;-)
_unK has joined #ocaml
ftrvxmtrx has joined #ocaml
drk-sd has joined #ocaml
leino has joined #ocaml
ztfw has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
mlh has quit [Ping timeout: 246 seconds]
ttamttam has quit [Quit: Leaving.]
oriba has joined #ocaml
<flux> chances are mrvn's bindings are the most complete. but I'm not sure if they are publicly available.
<adrien> I think I'll do it in C anyway, been doing too much ocaml I think ;-)
avsm has quit [Ping timeout: 246 seconds]
<flux> you'll just end up thinking many, many times "oh this could be soo much simpler"
<mehdid> flux: git://git.debian.org/pkg-ocaml-maint/packages/libfuse-ocaml.git
<flux> mehdid, ok, I'll just git-getit now while I remember :)
<adrien> flux: most probably ;-)
th5 has quit [Remote host closed the connection]
pad has joined #ocaml
<adrien> flux: first thing that would be easier in ocaml is having a B+ Tree implementation ;-)
<derdon> thelema: ping
ftrvxmtrx has joined #ocaml
ulfdoz has joined #ocaml
schme has quit [Ping timeout: 248 seconds]
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
enthymeme has joined #ocaml
ztfw` has joined #ocaml
munga has quit [Remote host closed the connection]
ztfw has quit [Ping timeout: 248 seconds]
_unK has quit [Remote host closed the connection]
ztfw` has left #ocaml []
gareth_0 has joined #ocaml
<gareth_0> hi
<gareth_0> how do i register a custom exception printer?
<flux> I don't know (I haven't done it). Instead I've used my own catching functions; adding registration for that would be simple
<gareth_0> i think i read it was in the standard library, and this bug report seems to confirm it: http://caml.inria.fr/mantis/view.php?id=123 ... but i cant find out how to use it
<flux> does your ocaml have it? mine doesn't..
<gareth_0> i dont know what shape it takes...
<gareth_0> (so i dont really know if it has it or not)
<flux> try: Printexc.install_printer;; in the toplevel
<gareth_0> its not there
<flux> hmm
<gareth_0> but the bug message doesnt actually say it is there
<flux> it says though "support for custom exception printers has been committed in the 'release311' branch. "
<gareth_0> indeed
<gareth_0> :p
<flux> which ocaml version do you have?
<gareth_0> 3.11.1
<flux> well, I wonder if 3.11.1 is older than 2009-09-16
<flux> and as the topic syas, 3.11.2 is out
<gareth_0> ^ latest? docs dont have it
<gareth_0> ah
<gareth_0> looks like it is in the next one
<gareth_0> yes
<flux> for what kind of situation were you wanting to use this?
<flux> funny how git ocaml-community doesn't have install_printer either..
<flux> ah, register_printer <- blind :)
travisbrady has joined #ocaml
<gareth_0> i have a library which defines some exceptions... i want them to print out nicely on stdout when there is an error
<flux> strange though, its commit date is 2010-04-19
<flux> gareth_0, you mean when the program exits on such exception?
<gareth_0> yes
<gareth_0> or when a request-handler exits
<travisbrady> I'm trying to run a program on a machine where godi is not installed and I'm getting this: Fatal error: exception Sys_error("/home/data/godi/share/camomile/database/general_category.mar: Permission denied") anyone know why that is?
<travisbrady> I compiled with ocamlfind ocamlopt
<adrien> travisbrady: have you checked it's not a hard-coded path?
<flux> gareth_0, well, you could implement your own exception registry and a function that extracts useful information from exceptions
<travisbrady> adrien: there is no such path hardcoded in my code
<travisbrady> I'm just trying to read lines of a file using BatFile.lines_of
<travisbrady> adrien: but I do see a bunch of hardcoded paths in the executable
ttamttam has joined #ocaml
<adrien> it's possible some paths are hardcoded (can't remember when this happens)
<adrien> but where are your camomile libs from?
<gareth_0> im going to upgrade flux
<travisbrady> I got camomile from godi
<adrien> you compiled on a machine with godi and try to run on another machine (I'm a bit slow today =) )
<travisbrady> yes, exactly, is that not supported?
<adrien> it definitely should
<adrien> looks like someone mentionned that on the caml mailing-list
<adrien> unfortunately, no good outcome afaict
<travisbrady> Oh, dang. I'll have to use Java
<adrien> travisbrady: wouldn't it be possible to tell it to look for ./general_category.mar instead?
<adrien> I mean, look in the current directory
<travisbrady> So I'd distribute the file and then hand-edit the executable to point to a file in the current dir? yeah I suppose I could do that
stekikun has quit [Remote host closed the connection]
<adrien> I wouldn't hand-edit the executable (at least PE is checksummed iirc), must be a way to tell it to look there at compile-time
<travisbrady> hcarty: Yeah I saw that but I'm under a pretty tight timeline so I'm just going to use java. Thank you though
schme has quit [Read error: Operation timed out]
schme has joined #ocaml
lokydor has joined #ocaml
sepp2k has quit [Quit: Leaving.]
Submarine has joined #ocaml
gareth_0 has quit [Ping timeout: 260 seconds]
fschwidom has joined #ocaml
oriba has quit [Quit: Verlassend]
<hcarty> travisbrady: Good luck either way
fschwidom has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 240 seconds]
derdon has quit [Ping timeout: 246 seconds]
fschwidom has joined #ocaml
oc13 has quit [Ping timeout: 248 seconds]
fschwidom has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
mlh has joined #ocaml
caligula__ has quit [Ping timeout: 240 seconds]
sshc has quit [Quit: leaving]
ttamttam has quit [Quit: Leaving.]
ygrek has quit [Ping timeout: 245 seconds]
brooksbp has joined #ocaml
caligula__ has joined #ocaml
itewsh has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
ikaros has quit [Quit: Leave the magic to Houdini]
brooksbp has quit [Quit: Leaving...]
ikaros has joined #ocaml
boscop has quit []
barismetin has quit [Quit: Leaving...]
_unK has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ftrvxmtrx has quit [Ping timeout: 246 seconds]
ftrvxmtrx has joined #ocaml
Dawrk-Side has joined #ocaml
drk-sd has quit [Ping timeout: 264 seconds]
leino has quit [Quit: leaving]
Amorphous has quit [Ping timeout: 252 seconds]
Amorphous has joined #ocaml