smimou changed the topic of #ocaml to: OCaml 3.08.3 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
smimou has quit ["?"]
petter_ has quit [Read error: 110 (Connection timed out)]
MisterC has joined #ocaml
Skal has quit [Read error: 60 (Operation timed out)]
mrsolo has quit [Read error: 104 (Connection reset by peer)]
MisterC has quit ["Client exiting"]
Nutssh has quit ["Client exiting"]
bk_ has joined #ocaml
bk_ has left #ocaml []
angagon has joined #ocaml
angagon has left #ocaml []
Herrchen_ has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
whee has quit [kornbluth.freenode.net irc.freenode.net]
r_qvisito has quit [kornbluth.freenode.net irc.freenode.net]
gim has quit [kornbluth.freenode.net irc.freenode.net]
rossberg has quit [kornbluth.freenode.net irc.freenode.net]
Mike_L has quit [kornbluth.freenode.net irc.freenode.net]
Mike_L has joined #ocaml
r_qvisito has joined #ocaml
rossberg has joined #ocaml
gim has joined #ocaml
Nutssh has joined #ocaml
Snark has joined #ocaml
whee has joined #ocaml
__DL__ has joined #ocaml
whee has quit ["Leaving"]
vezenchio has joined #ocaml
_shawn has quit [Read error: 110 (Connection timed out)]
_shawn has joined #ocaml
joeytwiddle has joined #ocaml
__DL__ has quit [Remote closed the connection]
smimou has joined #ocaml
petter_ has joined #ocaml
Schmurtz has quit ["Dodo !"]
Nutssh has quit ["Client exiting"]
<petter_> why is there no function composition operator in OCaml?
<petter_> I tried to make one with camlp4
<petter_> http://www.efd.lth.se/~c01pb/compose.ml.html <-the syntax extension
<petter_> It's just a quick hack, don't know if it breaks something
<Snark> petter_: function composition?
<petter_> Snark: yes, usually "."
<Snark> petter_: how do you compose functions of several variables in a generic way?
<mflux> petter_, I've used let (@.) a b c = a (b c)
<Snark> which works ok for single variable functions, indeed
<mflux> and very often, with currying et al, it's sufficient
<mflux> of course when it isn't you need to write a lambda function
<petter_> Snark: haven't thought about that
<petter_> mflux: ahh, nice
<petter_> Snark: I imagine you would use it mostly with single argument functions
<mflux> petter_, I've also defined let @@ a b = a b
<mflux> (@@) of course
<petter_> mflux: an "apply" operator?
<mflux> I'm not sure if that's what it's called, but yes
<mflux> to reduce some parenthesis
<petter_> yes
<Snark> let (@#) a b = a#b ?
<Snark> *g*
<petter_> hmmm, I think in my syntax extension, "." accidentially became "apply" as well...
<petter_> because you can write "f . 4" and it becomes "f 4"
<petter_> ...or not, think the associativity for "apply" is different
whee has joined #ocaml
HoneyBee2 has joined #ocaml
HoneyBee2 is now known as Oatmeat
batkins_ has joined #ocaml
r2d4 has joined #ocaml
batkins_ has quit [Remote closed the connection]
batkins_ has joined #ocaml
<r2d4> I would like to create a union and pass it to a function and return based on the data type. How do I do that?
<r2d4> never mind. figured that.
<petter_> explain more exactly what you want to do
Q_ has joined #ocaml
<Q_> I saw this error message in a buildd log for debian amd64: pcre_stubs.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
<Q_> And I saw thig in the changelog of the last upload:
<Q_> * debian/patches/asmcomp_amd64_emit.mlp.dpatch: patch from upstream bugfix
<Q_> branch by Xavier Leroy to fix code generation on amd64 (reported by John
<Q_> Skaller).
<Q_> Are those related?
r2d4 has quit ["Chatzilla 0.9.68a [Firefox 1.0.4/20050511]"]
<petter_> no idea, maybe look in the debian bugtracking-something?
<Q_> I guess not.
<Q_> I had a hard time finding the bug in the ocaml bug track system, but seems to be unrelated.
Tipsy2 has joined #ocaml
<Q_> And just looks like a bug in the package I'm trying to build anyway.
Q_ has left #ocaml []
Tipsy2 has left #ocaml []
ulfdoz has joined #ocaml
<ulfdoz> re
pattern_ has joined #ocaml
HoneyBee has joined #ocaml
r2d4 has joined #ocaml
<r2d4> Is there a OCaml keyword reference someplace?
<r2d4> never mind. found that. This is getting to be a habit :-(.
Oatmeat has quit [Read error: 110 (Connection timed out)]
r2d4 has quit ["Chatzilla 0.9.68a [Firefox 1.0.4/20050511]"]
<petter_> where is it? out of curiosity....
<Snark> in the doc
<Snark> the official doc
vezenchio has quit ["\o/ in mochintin namocniuh \o/"]
<petter_> hehe, yea
mrsolo has joined #ocaml
Snark has quit ["Leaving"]
pattern_ has quit [kornbluth.freenode.net irc.freenode.net]
pattern_ has joined #ocaml
<Number17> I'm looking for a parser generator for O'Caml. Is packrat a good one (only one I could find), or are there other, better ones?
* Number17 is dismayed at the lack of a debian package for it
<Number17> hmm, well I guess it's pretty fringe
<smimou> Number17: isn't ocamlyacc good enough for your purpose ?
<Number17> I just googled "o'caml parser generator" and packrat was the first one that popped up
<Number17> I'll look into ocamlyacc then
<Number17> ooh, ocaml yacc comes with o'caml
<Number17> nice
ulfdoz has quit ["deprecated"]
gim has quit ["/me revient bientot, un x a relancer"]
gim has joined #ocaml
smimou has quit ["?"]
jever has joined #ocaml