drewr has joined #ocaml
mattam has quit ["Lost terminal"]
whee has joined #ocaml
CosmicRay has quit [Remote closed the connection]
CosmicRay has joined #ocaml
smkl has quit [Read error: 60 (Operation timed out)]
mbh_ has joined #ocaml
smkl has joined #ocaml
mbh has quit [Read error: 110 (Connection timed out)]
Crikey has joined #ocaml
smkl has quit [Read error: 60 (Operation timed out)]
mayhem has quit [Remote closed the connection]
mrsolo has joined #ocaml
monochrom has joined #ocaml
drewr has quit ["night"]
carson has joined #ocaml
<
carson>
newb question
<
carson>
just trying to get my head around the built in parser
<
carson>
# Characters 33-35:
<
carson>
let next s = match s with parser [< 'x >] -> x;;
<
carson>
Syntax error
<
carson>
(the arrows are pointing to the first [<)
<
carson>
This is from ocaml, top level.
<
pnou>
you must load camlp4o
smkl has joined #ocaml
<
pnou>
type #load "camlp4o.cma"
vezenchio has joined #ocaml
<
carson>
: / Sorry. Noob. It wasn't in the oreilly book examples
cjohnson has quit ["sleep"]
<
pnou>
yep, when this book was written, camlp4o was loaded by default
<
carson>
_laugh_ Any recommendations on more recent stuff? Where should I be looking for these sorts of questions?
suman has joined #ocaml
suman has quit [Client Quit]
<
carson>
OK, I'll stumble around more. Thanks for the tip. Cheers.
monochrom has quit ["Few people understand "understanding"."]
CosmicRay has quit ["Leaving"]
smkl has quit [Read error: 110 (Connection timed out)]
zzorn has joined #ocaml
Crikey has left #ocaml []
mbh_ has quit [Read error: 110 (Connection timed out)]
Nutssh has quit [Read error: 110 (Connection timed out)]
Walnutssh has joined #ocaml
smkl has joined #ocaml
mrsolo has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
mbh has joined #ocaml
mlh has quit ["who are you people and what are you doing in my computer!?"]
zzorn is now known as zzorn_away
Herrchen has joined #ocaml
Submarine has joined #ocaml
mrvn has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
Submarine has quit ["Leaving"]
mrvn_ has quit [Read error: 110 (Connection timed out)]
mbh has quit ["Lost terminal"]
pango has quit [Remote closed the connection]
pango has joined #ocaml
smkl has joined #ocaml
Submarine has joined #ocaml
smimou has joined #ocaml
det has quit ["leaving"]
det has joined #ocaml
m3ga has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
m3ga has quit [Client Quit]
stef_ has quit [Read error: 60 (Operation timed out)]
stef_ has joined #ocaml
smimou has quit ["?"]
smkl has joined #ocaml
_fab has quit [Remote closed the connection]
slashvar has joined #ocaml
slashvar is now known as slashvar[lri]
_fab has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
mlh has joined #ocaml
mlh has quit ["Chatzilla 0.9.66e [Firefox 1.0/20041107]"]
_JusSx_ has joined #ocaml
tintin has joined #ocaml
smkl has joined #ocaml
cjohnson has joined #ocaml
leolio has joined #ocaml
<
leolio>
hello, i'm getting a wierd error message when i try to compile a program with ocamlopt
<
leolio>
it compiles without error with ocamlc
<
leolio>
Files /usr/lib/ocaml/3.08/unix.cmxa and /usr/lib/ocaml/3.08/unix.cmxa
<
leolio>
both define a module named Unix
<
leolio>
any idea ?
<
pango>
you're trying to link it twice ?
<
leolio>
that's what it says
<
leolio>
but, unix.cmxa appears only once on the command line
<
leolio>
and the same command line works with ocamlc
<
leolio>
well, since it works with ocamlc, it doesn't really matter
<
pango>
shouldn't ocamlc only accept .cmo ?
<
leolio>
of course, i replaced .cma with .cma and .cmo with .cmx
<
leolio>
it's just that the options are the same
<
leolio>
ocamlfind ocamlc -g -thread -package pcre,mysql,netclient -linkpkg -o camelia unix.cma str.cma threads.cma pcre.cma mysql.cma netclient.cma ircformat.cmo irc.cmo location.cmo db.cmo lexer.cmo ... main.cmo
<
leolio>
that is the command-line
<
pango>
I have no experience with ocamlfind
<
leolio>
oh thank you for your time
<
leolio>
i suspect something with netclient
<
leolio>
since it worked fine before i added that module
<
pango>
could it be a problem mixing -package directive with explicit module names (.cma,.cmo) ?
<
pango>
what about using only the -package directive ?
<
leolio>
.. it works :)
<
leolio>
thanks a lot
<
pango>
I suppose netclient was using unix, and -package adding it to the list of modules to link
zxy____ is now known as zxy_
CosmicRay has joined #ocaml
stef_ has quit [Read error: 54 (Connection reset by peer)]
stef has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
xerox has joined #ocaml
vezenchio has quit ["Greenspun's Tenth Rule of Programming: any sufficiently complicated C or Fortran program contains an ad hoc informally-specifi"]
vezenchio has joined #ocaml
drewr has joined #ocaml
stef has quit [Read error: 60 (Operation timed out)]
stef has joined #ocaml
stef has quit [Read error: 54 (Connection reset by peer)]
stef has joined #ocaml
xol has joined #ocaml
smkl has joined #ocaml
stef has quit [Read error: 54 (Connection reset by peer)]
stef has joined #ocaml
stef has quit [Read error: 54 (Connection reset by peer)]
drewr has quit ["brb"]
stef has joined #ocaml
cjohnson has quit [Connection timed out]
monochrom has joined #ocaml
stef has quit [tolkien.freenode.net irc.freenode.net]
vezenchio has quit [tolkien.freenode.net irc.freenode.net]
tintin has quit [tolkien.freenode.net irc.freenode.net]
mrsolo has quit [tolkien.freenode.net irc.freenode.net]
Amorphous has quit [tolkien.freenode.net irc.freenode.net]
slashvar[lri] has quit [tolkien.freenode.net irc.freenode.net]
mflux has quit [tolkien.freenode.net irc.freenode.net]
senko has quit [tolkien.freenode.net irc.freenode.net]
stef has joined #ocaml
vezenchio has joined #ocaml
tintin has joined #ocaml
slashvar[lri] has joined #ocaml
mrsolo has joined #ocaml
Amorphous has joined #ocaml
mflux has joined #ocaml
senko has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
_JusSx__ has joined #ocaml
drewr has joined #ocaml
dd_ has joined #ocaml
<
dd_>
Is there an identity function in Pervasives? (Like "id" in Haskell.) I can't find it, but I seem to remember there being one.
<
dd_>
'kay, thanks.
_JusSx_ has quit [Read error: 110 (Connection timed out)]
xerox has quit ["ERC Version 4.0 $Revision: 1.703 $ (IRC client for Emacs)"]
Walnutssh is now known as Nutssh
smimou has joined #ocaml
vezenchio has quit ["Greenspun's Tenth Rule of Programming: any sufficiently complicated C or Fortran program contains an ad hoc informally-specif]
gim has joined #ocaml
smkl has joined #ocaml
stef has quit [Nick collision from services.]
stef_ has joined #ocaml
Demitar has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
Submarine has quit ["Leaving"]
humasect has joined #ocaml
mattam has joined #ocaml
Demitar has joined #ocaml
Submarine has joined #ocaml
zzorn_away is now known as zzorn
zzorn is now known as zzorn_afk
pango has quit ["Leaving"]
smkl has quit [Read error: 60 (Operation timed out)]
pango has joined #ocaml
gim_ has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
<
_JusSx__>
mysql wrapper for ocaml?
<
leolio>
but the link appears to be dead
<
leolio>
there's a package libmysql-ocaml in debian
<
_JusSx__>
what about dbforge?
smkl has joined #ocaml
<
_JusSx__>
sorry it's the same
<
leolio>
i have the .cma / .cmi
<
leolio>
but i can't find the sources anymore
<
leolio>
i managed to compile it from the orig tar.gz from the debian repository
<
_JusSx__>
thanx a LOT
<
_JusSx__>
good really good
<
_JusSx__>
even doc
<
_JusSx__>
great work did the author
stef has joined #ocaml
stef_ has quit [Read error: 54 (Connection reset by peer)]
Submarine has quit ["Leaving"]
_JusSx__ has quit ["leaving"]
CosmicRay has quit ["Client exiting"]
mattam has quit [Read error: 54 (Connection reset by peer)]
mattam has joined #ocaml
tea has quit [Remote closed the connection]
CosmicRay has joined #ocaml
CosmicRay has quit ["Client exiting"]
mlh has joined #ocaml
leolio has quit ["Ne mets pas tes mains sur la porte, tu risques de te faire pincer très fort"]
zzorn_afk is now known as zzorn
humasect has quit ["Leaving.."]
mattam has quit ["Lost terminal"]
smkl has quit [Read error: 110 (Connection timed out)]
smimou has quit ["?"]