<kaustuv>
match the empty sequence of tokens, returning nil
<AxleLonghorn>
hmm
<AxleLonghorn>
thanks a bunch
<AxleLonghorn>
kaustuv, do you have a website?
<AxleLonghorn>
(for attribution)
_zack has joined #ocaml
<kaustuv>
Oh, no need for attribution in such a trivial matter, I think.
<AxleLonghorn>
well, you're getting a comment at the least
AxleLonghorn has left #ocaml []
jeddhaberstro has quit []
alexyk has quit []
_zack has quit ["Leaving."]
_zack has joined #ocaml
jah has joined #ocaml
ttamttam has joined #ocaml
ikaros has joined #ocaml
palomer has quit [Remote closed the connection]
_zack has quit ["Leaving."]
jah has quit ["Quitte"]
ikaros has quit ["Leave the magic to Houdini"]
_zack has joined #ocaml
thutchin has joined #ocaml
<thutchin>
What do you think the best linux distribution for OCaml is? I'm not trying to start a flame war. Just deciding only based on caml packages. Seems like Fedora and Debian are the ones who support it the most? Any preferences (based on ocaml)?
seafood has quit []
verte has joined #ocaml
Snark has joined #ocaml
<flux>
quite possibly debian has the best support
<flux>
considering the number of packages
<flux>
you could just use godi, though, and gain some distribution independence
<flux>
although even godi's package selection is likely dwarfed by debian's
<flux>
ubuntu also has a decent set, as it gets its packages from debian, but at times it has bugs not present in debian
<flux>
atleast that's been the case for me a few times
<flux>
packaging bugs that is: some modules can't be used due to linking issues, for example
jknick has joined #ocaml
rwmjones_ has joined #ocaml
s4tan has joined #ocaml
Ched has joined #ocaml
_zack has quit ["Leaving."]
<thutchin>
thanks for the info
rwmjones_ has quit [brown.freenode.net irc.freenode.net]
Stefan_vK has quit [brown.freenode.net irc.freenode.net]
kg4qxk has quit [brown.freenode.net irc.freenode.net]
bohanlon has quit [brown.freenode.net irc.freenode.net]
mfp has quit [brown.freenode.net irc.freenode.net]
l_a_m has quit [brown.freenode.net irc.freenode.net]
det has quit [brown.freenode.net irc.freenode.net]
Asmadeus has quit [brown.freenode.net irc.freenode.net]
chicco has quit [brown.freenode.net irc.freenode.net]
mal`` has quit [brown.freenode.net irc.freenode.net]
jburd has quit [brown.freenode.net irc.freenode.net]
thutchin has quit [brown.freenode.net irc.freenode.net]
OChameau has quit [brown.freenode.net irc.freenode.net]
munga has quit [brown.freenode.net irc.freenode.net]
hcarty has quit [brown.freenode.net irc.freenode.net]
caligula_ has quit [brown.freenode.net irc.freenode.net]
petchema has quit [brown.freenode.net irc.freenode.net]
maxote has quit [brown.freenode.net irc.freenode.net]
mr_uggla has quit [brown.freenode.net irc.freenode.net]
TaXules has quit [brown.freenode.net irc.freenode.net]
animist has quit [brown.freenode.net irc.freenode.net]
bdc334 has quit [brown.freenode.net irc.freenode.net]
kaustuv has quit [brown.freenode.net irc.freenode.net]
jknick has quit [brown.freenode.net irc.freenode.net]
munga` has quit [brown.freenode.net irc.freenode.net]
totom has quit [brown.freenode.net irc.freenode.net]
haelix has quit [brown.freenode.net irc.freenode.net]
rodge has quit [brown.freenode.net irc.freenode.net]
mehdid has quit [brown.freenode.net irc.freenode.net]
Camarade_Tux has quit [brown.freenode.net irc.freenode.net]
tab_ has quit [brown.freenode.net irc.freenode.net]
lintrippz has quit [brown.freenode.net irc.freenode.net]
Ori_B has quit [brown.freenode.net irc.freenode.net]
xian has quit [brown.freenode.net irc.freenode.net]
Mr_Awesome has quit [brown.freenode.net irc.freenode.net]
s4tan has quit [brown.freenode.net irc.freenode.net]
thelema_ has quit [brown.freenode.net irc.freenode.net]
ulfdoz has quit [brown.freenode.net irc.freenode.net]
pixel__ has quit [brown.freenode.net irc.freenode.net]
rwmjones has quit [brown.freenode.net irc.freenode.net]
holgr has quit [brown.freenode.net irc.freenode.net]
maskd has quit [brown.freenode.net irc.freenode.net]
sanguinev has quit [brown.freenode.net irc.freenode.net]
r0bby has quit [brown.freenode.net irc.freenode.net]
acatout has quit [brown.freenode.net irc.freenode.net]
thelema has quit [brown.freenode.net irc.freenode.net]
mttobks has quit [brown.freenode.net irc.freenode.net]
ttamttam has quit [brown.freenode.net irc.freenode.net]
_jedai_ has quit [brown.freenode.net irc.freenode.net]
verte has quit [brown.freenode.net irc.freenode.net]
olegfink^ has quit [brown.freenode.net irc.freenode.net]
flux has quit [brown.freenode.net irc.freenode.net]
mbishop has quit [brown.freenode.net irc.freenode.net]
ppsmimou has quit [brown.freenode.net irc.freenode.net]
mattam has quit [brown.freenode.net irc.freenode.net]
tsuyoshi has quit [brown.freenode.net irc.freenode.net]
tarbo2 has quit [brown.freenode.net irc.freenode.net]
ozzloy has quit [brown.freenode.net irc.freenode.net]
kelaouchi has quit [brown.freenode.net irc.freenode.net]
tomaw has quit [brown.freenode.net irc.freenode.net]
bla has quit [brown.freenode.net irc.freenode.net]
ski__ has quit [brown.freenode.net irc.freenode.net]
Snark has quit [brown.freenode.net irc.freenode.net]
xevz has quit [brown.freenode.net irc.freenode.net]
mishok13 has quit [brown.freenode.net irc.freenode.net]
schme has quit [brown.freenode.net irc.freenode.net]
Hadaka has quit [brown.freenode.net irc.freenode.net]
ertai has quit [brown.freenode.net irc.freenode.net]
Axioplase has quit [brown.freenode.net irc.freenode.net]
jonafan has quit [brown.freenode.net irc.freenode.net]
Demitar has quit [brown.freenode.net irc.freenode.net]
smimou has quit [brown.freenode.net irc.freenode.net]
sbok has quit [brown.freenode.net irc.freenode.net]
fremo has quit [brown.freenode.net irc.freenode.net]
gildor has quit [brown.freenode.net irc.freenode.net]
shortc|desk has quit [brown.freenode.net irc.freenode.net]
authentic has quit [brown.freenode.net irc.freenode.net]
delroth has quit [brown.freenode.net irc.freenode.net]
Ched has quit [brown.freenode.net irc.freenode.net]
pango has quit [brown.freenode.net irc.freenode.net]
jlouis has quit [brown.freenode.net irc.freenode.net]
mwhitney has quit [brown.freenode.net irc.freenode.net]
steg has quit [brown.freenode.net irc.freenode.net]
svenl has quit [brown.freenode.net irc.freenode.net]
mytoz has quit [brown.freenode.net irc.freenode.net]
erg has quit [brown.freenode.net irc.freenode.net]
det has joined #ocaml
Asmadeus has joined #ocaml
chicco has joined #ocaml
jburd has joined #ocaml
mal`` has joined #ocaml
jknick has joined #ocaml
munga has joined #ocaml
totom has joined #ocaml
haelix has joined #ocaml
rodge has joined #ocaml
Axioplase has joined #ocaml
jonafan has joined #ocaml
Demitar has joined #ocaml
smimou has joined #ocaml
authentic has joined #ocaml
gildor has joined #ocaml
fremo has joined #ocaml
sbok has joined #ocaml
delroth has joined #ocaml
shortc|desk has joined #ocaml
Ched has joined #ocaml
pango has joined #ocaml
mytoz has joined #ocaml
jlouis has joined #ocaml
mwhitney has joined #ocaml
erg has joined #ocaml
svenl has joined #ocaml
steg has joined #ocaml
munga has quit [Killed by ballard.freenode.net (Nick collision)]
mehdid has joined #ocaml
bdc334 has joined #ocaml
kaustuv has joined #ocaml
OChameau has joined #ocaml
munga has joined #ocaml
petchema has joined #ocaml
caligula_ has joined #ocaml
TaXules has joined #ocaml
hcarty has joined #ocaml
animist has joined #ocaml
mr_uggla has joined #ocaml
maxote has joined #ocaml
Camarade_Tux has joined #ocaml
lintrippz has joined #ocaml
Mr_Awesome has joined #ocaml
tab_ has joined #ocaml
xian has joined #ocaml
Ori_B has joined #ocaml
rwmjones_ has joined #ocaml
Stefan_vK has joined #ocaml
kg4qxk has joined #ocaml
bohanlon has joined #ocaml
mfp has joined #ocaml
l_a_m has joined #ocaml
s4tan has joined #ocaml
Snark has joined #ocaml
verte has joined #ocaml
ttamttam has joined #ocaml
_jedai_ has joined #ocaml
thelema_ has joined #ocaml
olegfink^ has joined #ocaml
thelema has joined #ocaml
xevz has joined #ocaml
mishok13 has joined #ocaml
pixel__ has joined #ocaml
tarbo2 has joined #ocaml
flux has joined #ocaml
schme has joined #ocaml
ulfdoz has joined #ocaml
mbishop has joined #ocaml
r0bby has joined #ocaml
ppsmimou has joined #ocaml
rwmjones has joined #ocaml
kelaouchi has joined #ocaml
ski__ has joined #ocaml
sanguinev has joined #ocaml
holgr has joined #ocaml
maskd has joined #ocaml
ozzloy has joined #ocaml
Hadaka has joined #ocaml
mattam has joined #ocaml
bla has joined #ocaml
mttobks has joined #ocaml
acatout has joined #ocaml
tomaw has joined #ocaml
tsuyoshi has joined #ocaml
ertai has joined #ocaml
munga` has joined #ocaml
<munga`>
hello. I'd like to mix channels from Gzip and Pervasives. Conceptually I'd like to do something like : http://pastebin.com/m65f5ac9a
<munga`>
is there a clean way of doing it ?
Axioplase is now known as Axioplase_
<flux>
munga`, you could take a look at Batteries' (or plain ExtLib) with their extendable streams
<flux>
munga`, I believe atleast Batteries has some gzip streams
_zack has joined #ocaml
<munga`>
flux: Extlib.IO ? I'm not quite yet ready to batteries. Do you know of any usage examples ? Of course I could have a look at the batteries code...
<flux>
munga`, unfortunately no
<flux>
munga`, but the idea in general is to provide a new data stream type, that can be extended.. Pervasives one is solidly non-extensible.
<flux>
one simple way to approach that goal is to have either records with closures, or by using the object system
rwmjones_ has quit [Read error: 104 (Connection reset by peer)]
<Snark>
yes, batteries has gzip
<Snark>
and I think there is an example directory in batteries
<munga`>
good suggestion. I've used the extlib IO module as extensible stream. This is the result : http://pastebin.com/m221ce3cc
Snark has quit [Read error: 60 (Operation timed out)]
vovkaii has quit [Read error: 113 (No route to host)]
<tsuyoshi>
one problem I had with extlib io is it doesn't support seeking
<flux>
at all? that's something one'd like to have - although I've rarely used it
pango has quit ["I shouldn't really be here - dircproxy 1.0.5"]
elodie4 has quit [Client Quit]
Stefan_vK has quit [Read error: 60 (Operation timed out)]
elodie44 has quit [Read error: 110 (Connection timed out)]
alexyk has joined #ocaml
Yoric[DT] has joined #ocaml
ttamttam has left #ocaml []
sporkmonger has quit [Read error: 110 (Connection timed out)]
adrian_2002ca has joined #ocaml
<adrian_2002ca>
hiall, in general, how do I test two functions(float->float) for "equality" synthetically - obviously this is not possible with the = sign
<Cheshire>
adrian_2002ca, exactly what is ""equality""?
<adrian_2002ca>
Cheshire: i want to test if lets say (fun x->x) and (fun x->x+.2.) are the same
<adrian_2002ca>
x:float
<adrian_2002ca>
obviously
_jedai_ has quit [Excess Flood]
<Cheshire>
adrian_2002ca, what does "the same" mean...
|jedai| has joined #ocaml
<adrian_2002ca>
Cheshire: returns the same val when given any x
<Cheshire>
there's no way to do that
<adrian_2002ca>
Cheshire:lulz at oCaml then
<steg>
and why not is fascinating :)
<adrian_2002ca>
steg: i know i read all about it, but I thought I would ask just maybe...
<Cheshire>
adrian_2002ca: could you rephrase that using real words?
<adrian_2002ca>
Cheshire: umm ...r u a bot coded in oCaml?
<adrian_2002ca>
lol
<Cheshire>
I guess not then..
<adrian_2002ca>
Cheshire:hahahha funny...
<adrian_2002ca>
Cheshire: thanks though
<Cheshire>
goodbye
<adrian_2002ca>
Cheshire:arivederci
adrian_2002ca has left #ocaml []
<hcarty>
Poor OCaml. Being lulz-d at like that.
<olegfink>
and it also doesn't seem to be the choice of experts, that is, linuxquestions.org visitors i mean
thelema has quit [Read error: 110 (Connection timed out)]
Ariens_Hyperion has quit []
<thelema_>
oleg: code to test?
sporkmonger has joined #ocaml
<olegfink>
uhm, the version as-is at the moment only, sorry.
<olegfink>
I'd still like to know if it works correctly on x86_64 (it should)
<olegfink>
the 'usual' ocaml c interface uses ints as well; I wonder is there is any use in providing a Nativeint interface