flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0 out now! Get yours from http://caml.inria.fr/ocaml/release.html
jonasb has quit [Remote closed the connection]
brendan has quit [brown.freenode.net irc.freenode.net]
TaXules has quit [brown.freenode.net irc.freenode.net]
ozzloy has quit [brown.freenode.net irc.freenode.net]
hcarty has quit [brown.freenode.net irc.freenode.net]
hcarty has joined #ocaml
TaXules has joined #ocaml
ozzloy has joined #ocaml
Cheshire has quit [Read error: 110 (Connection timed out)]
Proteus_ has joined #ocaml
Proteus_ has quit [Read error: 54 (Connection reset by peer)]
brendan has joined #ocaml
rhar has joined #ocaml
thelema has quit [Read error: 110 (Connection timed out)]
Stefan_vK has quit [Read error: 104 (Connection reset by peer)]
Stefan_vK has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
jeddhaberstro has quit []
rhar has quit [Read error: 110 (Connection timed out)]
Associat0r has joined #ocaml
ched has quit [Read error: 110 (Connection timed out)]
ched has joined #ocaml
love-pingoo has joined #ocaml
Palace_Chan has joined #ocaml
thelema has joined #ocaml
flx_ has joined #ocaml
Palace_Chan has quit [brown.freenode.net irc.freenode.net]
mwhitney_ has quit [brown.freenode.net irc.freenode.net]
kc8pxy has quit [brown.freenode.net irc.freenode.net]
flux has quit [brown.freenode.net irc.freenode.net]
erg has quit [brown.freenode.net irc.freenode.net]
kc8pxy has joined #ocaml
erg has joined #ocaml
mwhitney_ has joined #ocaml
rhar has joined #ocaml
Palace_Chan has joined #ocaml
Axioplase has joined #ocaml
rhar has quit ["This computer has gone to sleep"]
Palace_Chan has quit ["Palace goes to sleep"]
love-pingoo has quit ["Connection reset by pear"]
rhar has joined #ocaml
flx_ is now known as flux
olegfink has quit [Read error: 104 (Connection reset by peer)]
olegfink has joined #ocaml
rhar has quit ["This computer has gone to sleep"]
Camarade_Tux has joined #ocaml
seafood has quit []
rhar has joined #ocaml
rhar has quit [Remote closed the connection]
Associat0r has quit []
Camarade_Tux has quit ["Leaving"]
shortc|desk is now known as shortc|work
shortc|work is now known as shortc|desk
Snark has joined #ocaml
seafood has joined #ocaml
_zack has joined #ocaml
ttamttam has joined #ocaml
acatout has joined #ocaml
Stefan_vK1 has joined #ocaml
seafood has quit []
Stefan_vK has quit [Read error: 110 (Connection timed out)]
_jeremiah has quit [Read error: 104 (Connection reset by peer)]
s4tan has joined #ocaml
s4tan has quit [Remote closed the connection]
s4tan has joined #ocaml
_zack has quit ["Leaving."]
s4tan has quit [Remote closed the connection]
|jeremiah has joined #ocaml
s4tan has joined #ocaml
s4tan has quit [Remote closed the connection]
s4tan has joined #ocaml
s4tan has quit [Remote closed the connection]
<rwmjones> hcarty, pong
Yoric[DT] has joined #ocaml
<rwmjones> gildor, etc http://www.annexia.org/tmp/caml2009/ <- random photos of the conference, speakers, random people, straight off my camera
s4tan has joined #ocaml
jlouis has quit ["Lost terminal"]
s4tan has quit [Remote closed the connection]
s4tan has joined #ocaml
Associat0r has joined #ocaml
Snark has quit ["Ex-Chat"]
Associ8or has joined #ocaml
Associ8or has quit [Client Quit]
Associ8or has joined #ocaml
Associat0r has quit [Read error: 110 (Connection timed out)]
Associ8or has quit []
Associat0r has joined #ocaml
Associat0r is now known as Associ8or
hkBst has joined #ocaml
Axioplase has quit ["quit"]
Camarade_Tux has joined #ocaml
<mfp> I must be one of the last ones to know, but in case anybody else has missed them...
gim has quit [Read error: 60 (Operation timed out)]
gim has joined #ocaml
jlouis has joined #ocaml
* Yoric[DT] actually didn't know :)
<mfp> Yoric[DT]: hah, somebody stole your slides?
<Yoric[DT]> No, I just didn't know that they were available on-line.
<Yoric[DT]> I thought that the pdf I sent would be printed, so that's a handout version.
<mfp> hmmm let's see if the forge can say who uploaded it
* rwmjones upvotes
yziquel has joined #ocaml
yziquel has quit [Remote closed the connection]
yziquel_ has joined #ocaml
* Camarade_Tux just found a signal.h in mingw32, defining some of the unix ones
hkBst has quit [Read error: 104 (Connection reset by peer)]
vuln has joined #ocaml
munga_ has joined #ocaml
<yziquel_> http://paste.lisp.org/display/74972 - i've been trying to ue pgocaml, and i get a "Parse error: currified constructor". What exactly does this error mean?
slash_ has quit ["leaving"]
<Yoric[DT]> yziquel_: it probably means that PGSQL is a constructor, not a function.
<Yoric[DT]> Hence, if it has any arguments, they should be between parenthesis.
sporkmonger has joined #ocaml
<yziquel_> Yoric[DT]: the code starts with expr: LEVEL "top" [ [ "PGSQL"; "("; dbh = expr; ")"; extras = LIST1 [ x = STRING -> x ] ->... and the "currified constructor" issue is with trying to execute PGSQL(dbh) "execute" "create temporary table ...". So it seems to be a constructor. But with parenthesis, PGSQL(dbh) ("execute") ("create temporary table employees (id serial not null primary key, name text not null, name text not null, salary int4 not null, email text)
<yziquel_> Yoric[DT]: or maybe i did not understand you very well.
<Yoric[DT]> mmmm.....
<Yoric[DT]> I don't know.
<yziquel_> Any good tutorial on camlp4?
bzzbzz has joined #ocaml
<Yoric[DT]> There's one in ocaml-tutorial.org .
<flux> I think the kind folks at inria could still up the version number of camlp4 to camlp6 and go with that, atleast the inclarity on for which version of camlp4 the tutorial is would go away :)
smimou has quit ["bli"]
seafood has joined #ocaml
<ttamttam> yziquel_: are you aware about this entry of caml hump? http://caml.inria.fr/cgi-bin/hump.en.cgi?contrib=591
<ttamttam> it may help: "A Brief Introduction to PG'OCaml" by Dario Texeira
<yziquel_> ttamttam: no, i was not aware of it. thanks for pointing it out...
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
ttamttam has quit ["Leaving."]
munga_ has quit ["Ex-Chat"]
seafood has quit [Read error: 110 (Connection timed out)]
<yziquel_> ttamttam: unfortunately, it does not solve my problem: getting the PGSQL(dbh) construct to be parsed correctly. http://paste.lisp.org/display/74972
Cheshire has joined #ocaml
smimou has joined #ocaml
|jeremiah has quit []
<rwmjones> yziquel_, is it definitely using the syntax extension? it seems like it isn't
ikaros has joined #ocaml
<flux> plain #load "foo.cma" wouldn't make any syntax extensions to go into life, would it?
TaXules has quit [Read error: 104 (Connection reset by peer)]
<flux> well, I just get a syntax error when I try with #require "pgocaml.statements" and so on
<flux> ah!
<flux> I needed to do #camlp4o;; first
<flux> yziquel_, so this gave me an actual database error: #use "topfind";; #camlp4o;; #require "pgocaml.statements";; PGSQL(dbh) "execute" "bar";;
willb has joined #ocaml
<yziquel_> rwmjones: yes, the syntax extension was not alive...
<yziquel_> flux: thanks, i get the same kind of database error.
sporkmonger_ has joined #ocaml
ulfdoz has quit [Read error: 104 (Connection reset by peer)]
ulfdoz has joined #ocaml
sporkmonger has quit [Connection timed out]
<hcarty> rwmjones: The ping was just to ask how the OCaml meeting went, since your name was here in IRC
tvn1238 has quit ["Leaving"]
<rwmjones> hcarty, yes, it was good
TaXules has joined #ocaml
pango has quit [Remote closed the connection]
<Yoric[DT]> Well, there was a looooooong talk in the beginning of the afternoon.
<hcarty> Anything new or exciting in the INRIA OCaml talk? That seems to be the only one which doesn't have slides available on cocan
<Yoric[DT]> A few ideas but nothing quite precise.
love-pingoo has joined #ocaml
pango has joined #ocaml
ikaros has quit [".quit"]
<hcarty> Yoric[DT]: Are there any plans to use/integrate the OCaml Calendar library in Batteries for time/date functions? I haven't used Netdate, so I'm not sure how they compare...
<hcarty> It may be too large or outside of the intended scope of Batteries
<Yoric[DT]> hcarty: it will depend on whether it's not too hard to get Netdate and Calendar to interoperate.
sporkmonger_ is now known as sporkmonger
<Yoric[DT]> Don't hesitate to fill in a Request for Features if that's important to you.
<hcarty> Yoric[DT]: Ok, will do
<hcarty> I use Calendar in a lot of my code
rogo has joined #ocaml
ttamttam has joined #ocaml
s4tan has quit [Remote closed the connection]
sporkmonger_ has joined #ocaml
sporkmonger has quit [Read error: 60 (Operation timed out)]
rwmjones_ has joined #ocaml
rwmjones has quit [Read error: 113 (No route to host)]
rwmjones_ is now known as rwmjones
ttamttam has left #ocaml []
marmotine has joined #ocaml
vuln has quit ["gotta go"]
sporkmonger_ has quit []
thelema has quit [Read error: 110 (Connection timed out)]
<gildor> rwmjones: thanks for the picture, I bring my camera but forget to use it
itewsh has joined #ocaml
smimou has quit ["bli"]
marmotine has quit ["mv marmotine Laurie"]
<hcarty> Yoric[DT]: It may be worth noting in the Batteries syntax extension documentation that comprehesions do work in the 3.11 toplevel
<hcarty> Yoric[DT]: Or, if it would be better, I can submit that as a bug report on the forge instead
<gildor> gildor: BTW, Yoric[DT], your talk at ocaml meeting was really great
<gildor> Yoric[DT]: it makes me want try to connect it with some library of my own
<gildor> Yoric[DT]: you say that you can provide us with a document on how to provide library easily integrate-able into batteries
<gildor> Yoric[DT]: wrt to Enum i think
ttamttam has joined #ocaml
<Yoric[DT]> hcarty: yes, please, could you submit this as a bug?
<Yoric[DT]> gildor: that document is not written yet, unfortunately.
<Yoric[DT]> (and thanks, btw)
|jeremiah has joined #ocaml
<hcarty> Yoric[DT]: Submitted.
sporkmonger has joined #ocaml
mattc58 has joined #ocaml
<Yoric[DT]> thanks
ygrek has joined #ocaml
vuln has joined #ocaml
jlouis has quit ["Lost terminal"]
planar has joined #ocaml
planar has quit [Remote closed the connection]
thelema has joined #ocaml
buzz0r_ has joined #ocaml
yziquel_ has quit []
yziquel has joined #ocaml
yziquel_ has joined #ocaml
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
schme has joined #ocaml
<ttamttam> Argh. I installed batteries with Godi two days ago. And just tried to update it.
<ttamttam> But the update fails, because the findlib module was not remove correctly.
<ttamttam> Ok. I have to find out which magic incantation will help me remove batteries modules from findlib.
<ttamttam> Obviously, ocamlfind remove batteries is not enough…
yziquel has quit [Read error: 110 (Connection timed out)]
yziquel_ has quit [Remote closed the connection]
yziquel_ has joined #ocaml
<ttamttam> Removing directories directly from pkg-lib/ seems to be ok. Trying to install batterie again…
<hcarty> ttamttam: I had the same problem
<hcarty> I used: "ocamlfind remove batteries -destdir $GODI_DIR/lib/ocaml/pkg-lib"
<ttamttam> Thanks
<hcarty> Then repeated for the packages batteries_threads
<hcarty> And batteries_nothreads
<ttamttam> I just removed batteries_* from the dir. I'll see.
<hcarty> After that the install seemed to work properly
* mfp realizes something
<mfp> congrats on the new Batteries release to those involved!
<hcarty> ttamttam: I imagine that does (approximately?) the same thing
<ttamttam> I hope. Just waiting for the documentation generation...
smimou has joined #ocaml
ttamttam has left #ocaml []
ttamttam has joined #ocaml
schme has quit ["leaving"]
<ttamttam> ### Installation completed
itewsh has joined #ocaml
jlouis has joined #ocaml
ygrek has quit [Remote closed the connection]
vuln has quit ["leaving"]
Camarade_Tux is now known as FSF
FSF is now known as Camarade_Tux
jonasb has joined #ocaml
ygrek has joined #ocaml
sporkmonger_ has joined #ocaml
sporkmonger has quit [Read error: 60 (Operation timed out)]
sporkmonger_ has quit [Client Quit]
ttamttam has quit [Remote closed the connection]
mattc58 has quit []
buzz0r_ has quit ["Ex-Chat"]
<jonasb> hi all, I'm using godi 3.11 and tried to install godi-batteries, but got this compilation error: http://pastebin.com/m5c1193da
<hcarty> jonasb: I don't think that's a Batteries error
<hcarty> It looks like it is trying and failing to build omake, perhaps?
<jonasb> ah, true. but batteries depends on omake...
<hcarty> Does it?
<jonasb> has anyone else succeeded compiling omake/batteries on godi 2
<hcarty> I was able to get it build here on godi + 3.11
<hcarty> Not omake, but Batteries
<hcarty> Without omake installed
<jonasb> ah, I tried to install omake before and failed... didn't realise godi_console still tried to install it
<jonasb> will try again
<jonasb> it works fine, cheers!
marmotine has joined #ocaml
realtime has quit [Remote closed the connection]
realtime has joined #ocaml
marmotine has quit [Client Quit]
itewsh has quit [brown.freenode.net irc.freenode.net]
love-pingoo has quit [brown.freenode.net irc.freenode.net]
ozzloy has quit [brown.freenode.net irc.freenode.net]
r0bby has quit [brown.freenode.net irc.freenode.net]
haelix has quit [brown.freenode.net irc.freenode.net]
__mattam__ has joined #ocaml
itewsh has joined #ocaml
love-pingoo has joined #ocaml
ozzloy has joined #ocaml
r0bby has joined #ocaml
haelix has joined #ocaml
ofaurax has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
ygrek has quit [Remote closed the connection]
jonafan has quit [Read error: 110 (Connection timed out)]
slash_ has joined #ocaml
Associ8or has quit []
<jonasb> ocamldep seems to choke on when I try to use batteries, any ideas? http://pastebin.com/d297b01d0
love-pingoo has quit ["Connection reset by pear"]
<hcarty> jonasb: I don't think you included the comprehension extension
<hcarty> The proper package name is under "Comprehension expressions"
<jonasb> ah, of course, thanks!
<hcarty> Have fun with it :-)
<Yoric[DT]> Yep, we obviously forgot to add pa_comprehension.syntax to the documentation.
<jonasb> hcarty: will do :-) read the batteries presentation from the ocaml meeting, and it all sounded very good
<jonasb> Yoric[DT]: strings.syntax is also missing
<Yoric[DT]> Thanks.
<Yoric[DT]> Justa dded.
<Yoric[DT]> Just added.
<jonasb> nice turnaround time :-(
jonafan has joined #ocaml
<jonasb> s/:-(/:-)/g
seafood has joined #ocaml
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
itewsh has joined #ocaml
<Yoric[DT]> :)
jonasb_ has joined #ocaml
<jonasb_> anyone knows if ocsigen and batteries are compatible? I get this when I try to start the server: Internal error in lwt_preemptive.ml (read failed on the pipe) Unix.Unix_error(2, "read", "") - Please check if Lwt_preemptive is initialized and that lwt_preemptive.cmo is linked only once. Otherwise, please report the bug
psnively has joined #ocaml
<jonasb_> is Lwt and Thread related in any way?
__mattam__ is now known as mattam
<psnively> They're both thread modules?
<Camarade_Tux> jonasb_, if you try to load the unix module several times, you will get errors (and the one you mentionned really looks like that)
<Camarade_Tux> be sure it appears only once on command-line or other
<psnively> More seriously, Lwt is a cooperative threading package, Thread is an OS threads package.
Camarade_Tux has quit [""much needed sleep""]
<jonasb_> Lwt_preemtive uses OS threads AFAIK, so that's probably it
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
willb has quit [Read error: 110 (Connection timed out)]
<jonasb_> hmm, I'm using two packages (ocsigen, batteries) which both are using threads, can I prevent multiple loads of unix?
Cheshire has quit ["Leaving"]