flux changed the topic of #ocaml to: Yes, inria.fr is back up! | Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0beta1 available from http://caml.inria.fr/pub/distrib/ocaml-3.11/ | Or grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
bluestorm has quit [Remote closed the connection]
jeremiah has quit [Read error: 104 (Connection reset by peer)]
jonafan has quit [Read error: 110 (Connection timed out)]
code17 has quit ["Leaving."]
vixey has quit [Network is unreachable]
alexyk_ has joined #ocaml
pumpkin_ is now known as pumpkin
rby has quit [Read error: 60 (Operation timed out)]
jeremiah has joined #ocaml
bombshelter13_ has quit [Client Quit]
alexyk has quit [Read error: 110 (Connection timed out)]
alexyk_ has quit []
ulfdoz has quit ["deprecated"]
pumpkin has quit ["Leaving..."]
alexyk has joined #ocaml
struktured has quit [Read error: 110 (Connection timed out)]
jlouis has quit [Read error: 104 (Connection reset by peer)]
Amorphous has quit [Read error: 104 (Connection reset by peer)]
alexyk has quit []
alexyk has joined #ocaml
middayc has quit []
<alexyk> am trying to compile a source with pgocaml, and at the -pp option for pgocaml.cmo, it complains ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv -linkpkg \
<alexyk> -I +extlib -pp "camlp4o /opt/godi/lib/ocaml/std-lib/pgocaml/pgocaml.cmo" -c cellspans.ml
<alexyk> Camlp4: Uncaught exception: DynLoader.Error ("/opt/godi/lib/ocaml/std-lib/pgocaml/pgocaml.cmo", "error while linking /opt/godi/lib/ocaml/std-lib/pgocaml/pgocaml.cmo.\nReference to undefined global `ExtString'")
<alexyk> I do supply extlib in -package list, how else can I tell it to see it? the same makefile line worked in pgocaml test itself...
struktured has joined #ocaml
Amorphous has joined #ocaml
netx has left #ocaml []
pumpkin_ has joined #ocaml
pumpkin- has joined #ocaml
pumpkin- has quit ["Leaving..."]
struktured has quit [Connection timed out]
struktured has joined #ocaml
alexyk has quit []
Asmadeus has joined #ocaml
jeddhaberstro has quit []
jeremiah has quit [Read error: 104 (Connection reset by peer)]
pumpkin_ has quit [Read error: 110 (Connection timed out)]
jeremiah has joined #ocaml
pumpkin_ has joined #ocaml
m3ga has joined #ocaml
apples` has quit ["Leaving"]
m3ga has quit [Client Quit]
bzzbzz has quit ["leaving"]
Axle has joined #ocaml
threeve has quit []
psnively has joined #ocaml
psnively has quit [Remote closed the connection]
pumpkin_ is now known as pumpkin
jeremiah has quit [Read error: 104 (Connection reset by peer)]
jeremiah has joined #ocaml
sporkmonger has quit []
alexyk has joined #ocaml
pumpkin has quit ["Leaving..."]
<alexyk> I'm compiling something with pgocaml and found I need to have pGOCaml.cmi in the current working directory for it to preprocess; but that cmi is not mentioned in the command line! where can I "include" it in from its central location?
MelanomaSky has quit ["leaving"]
pumpkin_ has joined #ocaml
<flux> alexyk, you would find pgocaml's META file and do it that way
<alexyk> flux: yep, found that... -pp stuff makes it even more fun
<alexyk> pumpkin: how's ocamling? :)
<flux> alexyk, pgocaml 1.1 appears to work find for me, though.. atleast compiling test_pgocaml.ml manually, without any cmi-files in the directory
<flux> (ocamlfind ocamlc -linkpkg -g -package unix,extlib,pcre,calendar,csv,pgocaml,pgocaml.statements -syntax camlp4o -o test_pgocaml test_pgocaml.ml)
<flux> you apparently are using camlp4o manually?
<alexyk> flux: I did my own in the same way -- found the hard way that the line to preprocess test_pgocaml.ml=>cmo uses pGOCaml.cmi implicitly... then added -I <pgocaml> to that line to do it in my manual Makefile
<alexyk> then I went back to pgocaml dir and did make findlib_install -- my previous make install put it into std-lib instead of making a package in site-lib
<alexyk> I had to point to things explicitly and now it's easier...
<flux> alexyk, you should undo the regular install
<flux> if you have findlib-install around, especially if it's in a different directory
<alexyk> should have read Teixeira tutorial again
<alexyk> yep, will do make uninstall if it's there
<alexyk> well not there, but I guess just removing std-lib/pgocaml should do
<flux> compiling test_pgocaml.ml in the way I quoted works for me even even in a completely different directory
<flux> yes, it should
<flux> hm, wait
<flux> you want to keep the one installed by findlib
<flux> you could just go and remove both and the redo findlib-install
<alexyk> flux: yep
<alexyk> I wish install would first check for findlib and do findlib_install
<alexyk> 'cause you assume it's the latter
<flux> the problem with findlib_install is that you never know if it's findlib_install, findlib-install or even possibly install-findlib :)
<flux> otherwise.. well, now you know to check beforehand ;)
Snark_ has joined #ocaml
Snark_ is now known as Snark
alexyk has quit []
mfp_ has joined #ocaml
mfp has quit [Read error: 110 (Connection timed out)]
Axle has left #ocaml []
mishok13 has quit ["Stopping IRC chat... [OK]"]
mishok13 has joined #ocaml
ulfdoz has joined #ocaml
holoed has quit []
mishok13 has quit ["Stopping IRC chat... [OK]"]
mishok13 has joined #ocaml
mfp_ has quit [Read error: 104 (Connection reset by peer)]
filp has joined #ocaml
asabil has joined #ocaml
_zack has joined #ocaml
mfp_ has joined #ocaml
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
guyzmo has quit [Read error: 113 (No route to host)]
mfp_ has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
rwmjones has joined #ocaml
mfp has joined #ocaml
mfp has quit [Read error: 104 (Connection reset by peer)]
Yoric[DT] has joined #ocaml
mfp has joined #ocaml
<Yoric[DT]> hi
Mr_Awesome has joined #ocaml
code17 has joined #ocaml
Mr_Awesome has quit [Client Quit]
Mr_Awesome has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 110 (Connection timed out)]
fschwidom has joined #ocaml
Snark has quit ["Ex-Chat"]
pumpkin_ has quit ["Bye!"]
pumpkin_ has joined #ocaml
<mfp> <- implementing data structures is so easy in OCaml
<mfp> Yoric[DT]: could a polished variant of this be of use to Batteries (if it proves faster than Hashtbl)?
* Yoric[DT] takes a look.
Camarade_Tux has joined #ocaml
<Yoric[DT]> mfp: I suppose it could.
<Yoric[DT]> But not for release 1.
<Yoric[DT]> afk SIGFOOD
<mfp> bon appétit
<mfp> reddit is behaving strangely as usual http://www.reddit.com/r/programming/comments/7fb3c/latest_addition_to_the_programming_language_zoo/ is in what's hot, despite the downvote; the cuckoo hashing entry is not even in new (let alone hot), even though it's +1
ygrek has joined #ocaml
seafood_ has quit []
Camarade_Tux has quit ["Leaving"]
ygrek has quit [Remote closed the connection]
ppsmimou has quit [Read error: 60 (Operation timed out)]
sporkmonger has joined #ocaml
dejj has joined #ocaml
ppsmimou has joined #ocaml
__me has joined #ocaml
[L]ink has joined #ocaml
sporkmonger_ has joined #ocaml
sporkmonger has quit [Read error: 110 (Connection timed out)]
__me has left #ocaml []
filp has quit ["Bye"]
__me has joined #ocaml
maxote has quit [Client Quit]
maxote has joined #ocaml
rwmjones has quit ["Closed connection"]
rwmjones_ has quit [Client Quit]
rwmjones_ has joined #ocaml
rwmjones_ has quit [Read error: 104 (Connection reset by peer)]
rwmjones has joined #ocaml
[L]ink is now known as Raynes
Raynes is now known as [L]ink
willb has quit ["Leaving"]
filp has joined #ocaml
tomh has joined #ocaml
det has quit [Read error: 104 (Connection reset by peer)]
det has joined #ocaml
hkBst has joined #ocaml
pango has quit [Remote closed the connection]
__me has quit [Read error: 104 (Connection reset by peer)]
pango has joined #ocaml
asabil has quit ["Ex-Chat"]
willb has joined #ocaml
[L]ink has quit [Read error: 60 (Operation timed out)]
Camarade_Tux has joined #ocaml
fschwidom has quit [Remote closed the connection]
itewsh has joined #ocaml
marmotine has joined #ocaml
filp has quit ["Bye"]
jlouis has joined #ocaml
jonafan_ is now known as jonafan
alexyk has joined #ocaml
alexyk has quit []
vixey has joined #ocaml
<vixey> http://www.andrej.com//plzoo/html/levy.html I wonder if he gets bored of implementing subst for each language?
Snark has joined #ocaml
<flux> vixey, I suppose one could write a camlp4 extension to do that for you :)
<flux> ..if it doesn't infact exist already?
<flux> "dig recursively, except in these cases:"
<vixey> ok time I read camlp4 manual
alexyk has joined #ocaml
mattc58 has joined #ocaml
Camarade_Tux has quit ["Leaving"]
thelema has quit [Read error: 110 (Connection timed out)]
alexyk has quit []
alexyk has joined #ocaml
_zack has quit ["Leaving."]
Yoric[DT] has quit ["Ex-Chat"]
mattc58 has quit []
middayc has joined #ocaml
itewsh has quit [Remote closed the connection]
filp has joined #ocaml
filp has quit [Client Quit]
love-pingoo has joined #ocaml
<alexyk> folks here tried pgocaml with parameters to connect? when I say, let dbh = PGOCaml.connect ~database:"sandy" in ..., it barfs
<alexyk> although supposed to take optional parameters
<alexyk> pgocaml wants int32, but int_of_string I use returns int; is there an int=>int32 function?
<det> did you search the standard library documentation for int32 ?
<flux> alexyk, did you take a look at the example? however, without looking, I'm guessing you need to add one non-optional argument: ()
<flux> alexyk, and yes, there is int=>int32; man Int32
<flux> (as det suggested ;))
<alexyk> flux: just solved that, you're correct! thanks
Snark has quit ["Ex-Chat"]
<alexyk> Int32.of_string is the thing
asabil has joined #ocaml
thelema has joined #ocaml
purple has joined #ocaml
purple is now known as Guest91160
apples` has joined #ocaml
pumpkin_ has quit ["Leaving..."]
Guest91160 is now known as purple_
love-pingoo has quit [Read error: 60 (Operation timed out)]
itewsh has joined #ocaml
love-pingoo has joined #ocaml
sporkmonger has joined #ocaml
sporkmonger has quit [Client Quit]
Camarade_Tux has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
mbishop has quit [Read error: 110 (Connection timed out)]
mbishop has joined #ocaml
Demitar has quit [Remote closed the connection]
sporkmonger_ has quit [Read error: 110 (Connection timed out)]
Camarade_Tux has quit ["Leaving"]
jonafan_ has joined #ocaml
sporkmonger has joined #ocaml
pumpkin_ has joined #ocaml
pumpkin_ is now known as pumpkin
jonafan has quit [Read error: 110 (Connection timed out)]
alexyk has quit []
marmotine has quit ["mv marmotine Laurie"]
mtrimpe has joined #ocaml
mtrimpe has quit [Success]
sporkmonger has quit []
johnnowak has joined #ocaml
jeddhaberstro has joined #ocaml
code17 has quit [Remote closed the connection]
fschwidom has joined #ocaml
asabil has quit [Remote closed the connection]
dejj has left #ocaml []
asabil has joined #ocaml
ulfdoz has quit ["deprecated"]
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
itewsh has quit ["KTHXBYE"]
hkBst has quit [Read error: 104 (Connection reset by peer)]
alexyk has joined #ocaml
vixey has quit ["There exists an infinite set!"]