Yurik changed the topic of #ocaml to: http://icfpcontest.cse.ogi.edu/ -- OCaml wins | http://www.ocaml.org/ | http://caml.inria.fr/oreilly-book/ | http://icfp2002.cs.brown.edu/ | SWIG now supports OCaml| Early releases of OCamlBDB and OCamlGettext are available
<SoreEel> whee: Read the camlp4 manual at caml.inria.fr
<SoreEel> At some point, it illustrates the use of camlp4 with both the top-level and compilation tools.
<whee> I got it working, not quite how I want but not much I can do
<whee> there doesn't appear to be a set of camlp4 libraries that were compiled to native code
<whee> either that or it just doesn't install the .cmx files
nicotine has joined #ocaml
<nicotine> slt
<nicotine> this chat is english or french?
nicotine has quit [Remote closed the connection]
<whee> oh, nuts
<whee> it's not so easy to provide "." for function composition in ocaml :|
<whee> the whitespace around it is being removed and it's treating it like a record field
spip[pala] has quit [Remote closed the connection]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
jcore__ has joined #ocaml
<whee> anyone alive and have experience with camlp4?
<whee> erm, nevermind, got it
<SoreEel> Nice, whee :)
<whee> gah, I need sleep
<whee> I can't believe I wrote a print_list function instead of using iter
<whee> camlp4 is actually pretty damn easy to use now that I've tried it
<whee> odd that more people don't take advantage of it
asqui has quit [Read error: 110 (Connection timed out)]
<jcore__> I'll have to look at it
jcore__ has quit ["ChatZilla 0.8.7 [Mozilla rv:1.0.1/20021204]"]
lament has quit ["mental mantle"]
mattam has joined #ocaml
j_bravo has joined #ocaml
mrvn_ is now known as mrvn
gl has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
asqui has joined #ocaml
jao_away has quit [forward.freenode.net irc.freenode.net]
emu has quit [forward.freenode.net irc.freenode.net]
SoreEel has quit [forward.freenode.net irc.freenode.net]
asqui has quit [forward.freenode.net irc.freenode.net]
merriam has quit [forward.freenode.net irc.freenode.net]
xtrm has quit [forward.freenode.net irc.freenode.net]
nkoza has quit [forward.freenode.net irc.freenode.net]
whee has quit [forward.freenode.net irc.freenode.net]
Torquemada has quit [forward.freenode.net irc.freenode.net]
j_bravo has quit [forward.freenode.net irc.freenode.net]
lam_ has quit [forward.freenode.net irc.freenode.net]
Segora has quit [forward.freenode.net irc.freenode.net]
smkl has quit [forward.freenode.net irc.freenode.net]
mmc has quit [forward.freenode.net irc.freenode.net]
gl has quit [forward.freenode.net irc.freenode.net]
mrvn has quit [forward.freenode.net irc.freenode.net]
skylan has quit [forward.freenode.net irc.freenode.net]
asqui has joined #ocaml
gl has joined #ocaml
j_bravo has joined #ocaml
mrvn has joined #ocaml
emu has joined #ocaml
jao_away has joined #ocaml
SoreEel has joined #ocaml
nkoza has joined #ocaml
skylan has joined #ocaml
merriam has joined #ocaml
whee has joined #ocaml
Segora has joined #ocaml
lam_ has joined #ocaml
smkl has joined #ocaml
Torquemada has joined #ocaml
xtrm has joined #ocaml
mmc has joined #ocaml
gl has quit [Read error: 54 (Connection reset by peer)]
gl has joined #ocaml
Zavie has joined #ocaml
<Zavie> plop every body :)
<Zavie> could anyone help me about doc generation ?
Zavie has quit []
kev has joined #ocaml
karryall has joined #ocaml
merriam has quit [Excess Flood]
graydon has joined #ocaml
Dalroth has joined #ocaml
mattam has joined #ocaml
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
j_bravo has quit [Read error: 104 (Connection reset by peer)]
j_bravo has joined #ocaml
<asqui> fold_right is non tail-recursive...
<asqui> surely you could make a tail recursive implementation by reversing the list and then calling the tail-recirsive fold_left on it?
MegaWatS has joined #ocaml
MegaWatS has quit ["Don't you hate it when chicks get mad at you for staring at their asses? It's not my fault that they have stuff written there]
gene9 has joined #ocaml
gene9 has left #ocaml []
gl has quit [Connection timed out]
Torquema1a has joined #ocaml
Torquemada has quit [Read error: 54 (Connection reset by peer)]
two-face has joined #ocaml
gl has joined #ocaml
two-face has quit ["Client Exiting"]
gl has quit [Read error: 54 (Connection reset by peer)]
gl has joined #ocaml
zack has joined #ocaml
zack has left #ocaml []
<whee> bahaha
<whee> ocaml site goes down just as I need to get some docs. right on schedule.
<whee> haha, nuts
<whee> not sure how to use streams to do this parsing for that k5 contest, getting the words with the characters in the reverse order :|
Dalroth has quit []
<whee> gah, no way to reverser a string easily
lament has joined #ocaml
j_bravo has quit [Read error: 54 (Connection reset by peer)]
<whee> this is just wrong
<whee> my inefficient stream parser is twice as fast as the lex/yacc one
<whee> and I use Buffer.add_char for each character haha
<mattam> hmmm, i've got to finish reading camlp4's tut and manual :)
<mattam> stream parsers seems really neat
<whee> camlp4 is great, I did a couple minor syntax extensions yesterday to learn it
<whee> and it helped me understand streams a lot
<whee> I just can't figure out why streams are so much faster than yacc/lex
<whee> maybe it's because this parser usage is just too simple and there's more overhead with those two
<lament> um
<lament> lex probably does Buffer.add_char, too
<whee> really.
<lament> and then does all sorts of stuff afterwards
<whee> I think the lex verson has some custom buffer stuff
<whee> hahaha, the streams version wins in terms of memory usage
<whee> but only a 37% speed increase when they actually do the same thing :(
<whee> oh well, it did reduce memory usage to 1/4 to 1/3 of what it was with lex/yacc, so it's not that bad :)