Taaus changed the topic of #ocaml to: http://caml.inria.fr/oreilly-book/
AmRitA has quit ["Client Exiting"]
<timmy> ugh
<timmy> Fatal error: exception Invalid_argument("Thread.kill: not implemented")
<samx> yes, stumbled into that myself. annoying.
AmRitA has joined #ocaml
puffin has joined #ocaml
mrbnsn_ has joined #ocaml
mrbnsn has joined #ocaml
mrbnsn_ has quit [Client Quit]
<mrbnsn> hello?
<mrbnsn> In an ocaml class method declaration, how does one pass "self" as an argument to a method in another class?
mrbnsn_ has joined #ocaml
mrbnsn has quit [Remote closed the connection]
<mrbnsn_> hello?
mrbnsn_ has quit ["ChatZilla 0.8.7 [Mozilla rv:1.0.0/20020529]"]
malc has joined #ocaml
^owl^ has joined #ocaml
gl has joined #ocaml
TimFreeman has joined #ocaml
<TimFreeman> Anyone awake? I'm trying to add a new primitive and ocaml is ignoring me.
<malc> new primitive as in..
<TimFreeman> Ah. You're awake. I allocated a new bit in the object header and I need new primitives to set and test the bit.
<TimFreeman> So I have a file byterun/concsious.c with a primitive that starts with "CAMLprim value is_conscious..." to test the bit.
<TimFreeman> The C code gets compiled, a new runtime is produced, and the new primitive shows up in the symbol list for the new runtime (generated with "nm")
<TimFreeman> ... I was about to say "when I do ocamlrun -p", but that apparently isn't true. It seems I'm failing to use my new ocamlrun. Nevermind.
<malc> never do actually
malc has quit ["no reason"]
^owl^ has quit [Read error: 110 (Connection timed out)]
Dybbuk has joined #ocaml
<Dybbuk> Howdy everybody.
TimFreeman has left #ocaml []
<samx> hello
<Dybbuk> I'm just about to get started learning ocaml, was wondering if anybody had any good pointers or caveats or anything.
<samx> well, there's pretty much documentation and tutorial type stuff on the ocaml web site, might find something there
<Dybbuk> Ok, that's where I'm browsing around...I'll see what I can find.
<samx> but usually the things that might get a newbie confused, are the use of semicolons, and using a match/try inside a match/try
<Dybbuk> Ok.
<Dybbuk> Does caml-mode work pretty well?
<samx> dunno.. never used it
ott has joined #ocaml
<ott> hello all
<samx> hello
<Dybbuk> Howdy.
ott has left #ocaml []
AmRitA has quit ["Client Exiting"]
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
<Dieb> hello all
<Dieb> where can i found docs about connect to a database (SQL)? On the core language docs, i only found an example to connect to a local database, made by a file. Nothing about to connect to a server. Any url, docs or idéas?
<samx> go to the ocaml web site, and follow 'the hump' link
<Dieb> ok, thank you a lot, all
<Dieb> i'll follow this immediatly
<Dybbuk> Are there apache module bindings for Ocaml?
malc has joined #ocaml
engstad has joined #ocaml
engstad has quit [Client Quit]
denisr has joined #ocaml
malc has quit ["no reason"]
denisr has quit ["Fermeture du client"]
<timmy> samx: what is the best way to have a match/try within a match/try?
<timmy> i was just using a let f () = ... in f() to get rid of the ambiguity
<samx> put the whole match or try into parenthesis
<samx> match foo with ... -> (match bar with ...) | _ -> ...
<timmy> oh
<timmy> yeah i should have thought of that
<timmy> i did it with if statements
<timmy> thanks