gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
little_owl has left #ocaml []
valross has quit [Remote host closed the connection]
fremo___ has quit [Ping timeout: 250 seconds]
julm has quit [Ping timeout: 255 seconds]
julm has joined #ocaml
fremo__ has joined #ocaml
jlouis has quit [Quit: brb]
jlouis has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
zubeen has joined #ocaml
valross has joined #ocaml
BiDOrD_ has quit [Read error: Connection reset by peer]
fremo__ has quit [Ping timeout: 245 seconds]
julm has quit [Ping timeout: 260 seconds]
valross has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
<zubeen> unable to figure out what is going wrong here
fremo__ has joined #ocaml
<zubeen> what is the difference between a set S and S.t ?
<zubeen> type t = Empty | Node of t * elt * t * int
<zubeen> why dont S and S.empty have the same type?
<zubeen> how can I cope up with it?
julm has joined #ocaml
adu has joined #ocaml
<adu> ugh
<adu> having so much trouble
<adu> I'm trying to install svgconv on macosx
<adu> but it needed omake, so i "port install omake"
<adu> but it fails because of an ocamlcc option called "-warn-error"
<adu> so I hack the PortFiles (which you're not supposed to do) to remove "-warn-error"
<adu> then i got a bunch of missing functions from libreadline in omake
zubeen has quit [Ping timeout: 245 seconds]
<thelema> zubeen: ElementS is a module, you need a type
<adu> so I hack omake (which I don't know how to do) to get it to compile
<adu> then after installing omake, i run it in the svgconv directory
<thelema> doh, gone
<adu> and then i get this: http://pastie.org/1326992 any ideas?
<adu> apparently i need ocamlfind, but MacPorts doesn't have it
<adu> so I tried installing ocamlfind, myself, but when i download findlib-1.2.6 and try and install it, it says I need Tk
<adu> which macosx already has, I just don't know if i need the ocaml bindings to it as well
<adu> it seems like a lot of dependencies for 'omake' ...
Modius has joined #ocaml
julm has quit [Ping timeout: 250 seconds]
julm has joined #ocaml
fremo__ has quit [Ping timeout: 265 seconds]
julm has quit [Ping timeout: 276 seconds]
julm has joined #ocaml
fremo__ has joined #ocaml
<thelema> adu: try to get findlib installed - it's really useful. I can't explain the tk dependency, it shouldn't have any need for them
<adu> I tried, and ^that^ happened
<adu> thelema: the Tk dependancy is from findlib-1.2.6/src/findlib-toolbox/make_wizard.ml
<thelema> can you not build that part of it?
patronus has quit [Read error: Connection reset by peer]
valross has joined #ocaml
patronus has joined #ocaml
<adu> nope
fremo___ has joined #ocaml
fremo__ has quit [Read error: Connection reset by peer]
valross has quit [Quit: Ex-Chat]
fremo___ has quit [Read error: Connection reset by peer]
julm has quit [Ping timeout: 240 seconds]
fremo__ has joined #ocaml
fremo__ has quit [Remote host closed the connection]
rks has quit [Quit: bllblblbl]
Snark has joined #ocaml
julm has joined #ocaml
fremo__ has joined #ocaml
adu has quit [Quit: adu]
jsk-away has quit [Ping timeout: 250 seconds]
adu has joined #ocaml
BiDOrD has quit [Ping timeout: 255 seconds]
adu has quit [Quit: adu]
ftrvxmtrx has quit [Quit: Leaving]
jsk has joined #ocaml
ttamttam has joined #ocaml
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
ftrvxmtrx has joined #ocaml
rixed has quit [Ping timeout: 265 seconds]
rixed has joined #ocaml
ulfdoz has joined #ocaml
Fullma has quit [Read error: Connection reset by peer]
ulfdoz has quit [Ping timeout: 272 seconds]
th5 has joined #ocaml
_andre has joined #ocaml
little_owl1 has joined #ocaml
ttamttam has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
little_owl1 has quit [Ping timeout: 245 seconds]
rwmjones has quit [Ping timeout: 245 seconds]
little_owl1 has joined #ocaml
rwmjones has joined #ocaml
avsm has joined #ocaml
ski has joined #ocaml
ttamttam has joined #ocaml
fremo___ has joined #ocaml
fremo__ has quit [Read error: Operation timed out]
fremo___ has quit [Read error: Connection reset by peer]
ttamttam has quit [Ping timeout: 276 seconds]
julm has quit [Ping timeout: 240 seconds]
ttamttam has joined #ocaml
julm has joined #ocaml
ski has quit [Quit: Leaving]
julm has quit [Ping timeout: 260 seconds]
julm has joined #ocaml
julm has quit [Ping timeout: 255 seconds]
julm has joined #ocaml
fremo__ has joined #ocaml
ikaros has joined #ocaml
kaustuv_ has joined #ocaml
ski has joined #ocaml
kaustuv has quit [Read error: Connection reset by peer]
ttamttam has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
Amorphous has joined #ocaml
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
avsm has quit [Ping timeout: 255 seconds]
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
ski has quit [*.net *.split]
kaustuv_ has quit [*.net *.split]
fremo__ has quit [*.net *.split]
patronus has quit [*.net *.split]
noj has quit [*.net *.split]
Elench has quit [*.net *.split]
thieusoai has quit [*.net *.split]
__marius__ has quit [*.net *.split]
dug_ has quit [*.net *.split]
theDroggl has quit [*.net *.split]
rwmjones has quit [*.net *.split]
little_owl1 has quit [*.net *.split]
rixed has quit [*.net *.split]
jlouis has quit [*.net *.split]
ikaros has quit [*.net *.split]
joewilliams_away has quit [*.net *.split]
rudi_s has quit [*.net *.split]
Tobu has quit [*.net *.split]
mehdid has quit [*.net *.split]
gildor has quit [*.net *.split]
Axioplase_ has quit [*.net *.split]
brendan has quit [*.net *.split]
CoryDambach has quit [*.net *.split]
asmanur has quit [*.net *.split]
Yoric has quit [*.net *.split]
Amorphous has quit [*.net *.split]
srcerer has quit [*.net *.split]
ninegrid has quit [*.net *.split]
kerneis has quit [*.net *.split]
BiDOrD has quit [*.net *.split]
coucou747 has quit [*.net *.split]
explodus has quit [*.net *.split]
mattam has quit [*.net *.split]
thelema has quit [*.net *.split]
_2x2l has quit [*.net *.split]
julm has quit [*.net *.split]
mfp has quit [*.net *.split]
albacker has quit [*.net *.split]
gnuvince has quit [*.net *.split]
melwtech35 has quit [*.net *.split]
thomasga has quit [*.net *.split]
iratsu` has quit [*.net *.split]
svenl has quit [*.net *.split]
ftrvxmtrx has quit [*.net *.split]
nimred has quit [*.net *.split]
cods has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
jonafan has quit [*.net *.split]
maskd has quit [*.net *.split]
eldragon has quit [*.net *.split]
f[x] has quit [*.net *.split]
bitbckt has quit [*.net *.split]
arturh has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
bzzbzz has quit [*.net *.split]
mcclurmc has quit [*.net *.split]
adrien has quit [*.net *.split]
pheredhel has quit [*.net *.split]
manveru has quit [*.net *.split]
xl0 has quit [*.net *.split]
hcarty has quit [*.net *.split]
strlen has quit [*.net *.split]
emias has quit [*.net *.split]
_andre has quit [*.net *.split]
boscop has quit [*.net *.split]
flux has quit [*.net *.split]
fabjan has quit [*.net *.split]
vk0 has quit [*.net *.split]
Leonidas has quit [*.net *.split]
bacam has quit [*.net *.split]
mikemc has quit [*.net *.split]
orbitz has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
mal`` has quit [*.net *.split]
nejimban has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
shachaf has quit [*.net *.split]
rossberg has quit [*.net *.split]
diml has quit [*.net *.split]
krktz has quit [*.net *.split]
haelix has quit [*.net *.split]
Yoric has joined #ocaml
Amorphous has joined #ocaml
ski has joined #ocaml
kaustuv_ has joined #ocaml
ikaros has joined #ocaml
fremo__ has joined #ocaml
julm has joined #ocaml
rwmjones has joined #ocaml
little_owl1 has joined #ocaml
BiDOrD has joined #ocaml
_andre has joined #ocaml
rixed has joined #ocaml
ftrvxmtrx has joined #ocaml
patronus has joined #ocaml
jlouis has joined #ocaml
boscop has joined #ocaml
bitbckt has joined #ocaml
brendan has joined #ocaml
noj has joined #ocaml
dug_ has joined #ocaml
Elench has joined #ocaml
arturh has joined #ocaml
mfp has joined #ocaml
albacker has joined #ocaml
thieusoai has joined #ocaml
gnuvince has joined #ocaml
coucou747 has joined #ocaml
jonafan has joined #ocaml
fraggle_ has joined #ocaml
flux has joined #ocaml
fabjan has joined #ocaml
maskd has joined #ocaml
vk0 has joined #ocaml
srcerer has joined #ocaml
mal`` has joined #ocaml
Leonidas has joined #ocaml
bacam has joined #ocaml
CoryDambach has joined #ocaml
bzzbzz has joined #ocaml
eldragon has joined #ocaml
mcclurmc has joined #ocaml
mikemc has joined #ocaml
nejimban has joined #ocaml
explodus has joined #ocaml
gildor has joined #ocaml
nimred has joined #ocaml
Tobu has joined #ocaml
asmanur has joined #ocaml
__marius__ has joined #ocaml
Obfuscate has joined #ocaml
f[x] has joined #ocaml
joewilliams_away has joined #ocaml
shachaf has joined #ocaml
rossberg has joined #ocaml
ninegrid has joined #ocaml
mattam has joined #ocaml
rudi_s has joined #ocaml
cods has joined #ocaml
diml has joined #ocaml
theDroggl has joined #ocaml
thelema has joined #ocaml
orbitz has joined #ocaml
kerneis has joined #ocaml
adrien has joined #ocaml
mehdid has joined #ocaml
pheredhel has joined #ocaml
manveru has joined #ocaml
xl0 has joined #ocaml
melwtech35 has joined #ocaml
hcarty has joined #ocaml
Asmadeus has joined #ocaml
krktz has joined #ocaml
Axioplase_ has joined #ocaml
thomasga has joined #ocaml
haelix has joined #ocaml
iratsu` has joined #ocaml
strlen has joined #ocaml
svenl has joined #ocaml
emias has joined #ocaml
Pepe_ has joined #ocaml
_2x2l has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
mfp has quit [Ping timeout: 240 seconds]
munga has joined #ocaml
yezariaely has joined #ocaml
yezariaely has left #ocaml []
mfp has joined #ocaml
<julm> works here
<albacker> julm: ok working here again :)
<julm> :0
<julm> erf
<julm> :)
<albacker> is it possible to write in a file from line 2 to line n, and then at the end write at line 1 ?
<flux> yes, if you know beforehand how long the first line is going to be..
<albacker> hmm, no i don't.
<flux> or if you can pad it with some characters and know beforehand how long the first line can be at its longest
<albacker> it'll be a file with numbers on each line., i know the number on the first line only at the end, and i dont want to store everything during the whole program.
th5 has quit [Read error: Operation timed out]
<albacker> i don't know if it will have 2 digits or 3 digits.
<albacker> or 1 digit.
<flux> you can possibly write 00002 etc fixed length number?
<albacker> ??
<flux> I got the idea the first line is going to be number
<albacker> maybe i can 'reserve' 10 places on the first line. im sure my number wont depass that, can i do it?
<albacker> flux: yes, its going to be a number.
<flux> seek into offset 10 before starting to write
<flux> then later on seek to 0 and write 10 digits
<albacker> flux: ok, thanks. (any info on offset seeking)
<flux> actually 9 digits and a newline
<flux> seek_out
<albacker> actually 2 digits, 7 spaces and a newline :p
th5 has joined #ocaml
<albacker> dunno if this is better or storing all the info through the whole program than writing everything in order :/
<albacker> 2nd way will be slower, and take more memory that's for sure.
<albacker> but i wont have the extra spaces after the number.
<mfp> the shootout is degenerating into a game of tricking igouy
<mfp> re: binary-trees benchmark -> "If you use the (illegal) -A400M setting to preallocate the heap size, GHC is very, very fast." > "Try +RTS -H (no argument) with GHC 7.0.1. I can rename it to -server if that would help :-)" > "That looks very useful."
<f[x]> lol
<f[x]> no rigid requirements on implementations -> hence the result
<mfp> it seems to be very generalized in Haskell > 'I guess the wording in the problem description says "don't implement your own custom memory pool" which is ambiguous. (...) Shall I put up a memory pool library on hackage and then use that in the Haskell example?' > "please do!"
<mfp> dons also added stuff to some lib of his (ByteString?) to speed up an older benchmark (the one about reading ints from a file)
<f[x]> who cares
<mfp> same as doping, it puts pressure on the other implementors to cheat
<mfp> and causes long irritating discussions on the mailing list
<f[x]> hell yes
rmitt_ has joined #ocaml
<f[x]> people should just ignore this
munga has quit [Ping timeout: 260 seconds]
th5 has quit [Ping timeout: 240 seconds]
rmitt_ has quit [Quit: Page closed]
nejimban has quit [Ping timeout: 250 seconds]
diml has quit [Ping timeout: 250 seconds]
mal`` has quit [Ping timeout: 250 seconds]
haelix has quit [Ping timeout: 250 seconds]
_nejimban has joined #ocaml
haelix has joined #ocaml
diml has joined #ocaml
mal`` has joined #ocaml
joewilliams_away is now known as joewilliams
init1 has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
__marius__ has quit [Quit: Lost terminal]
Yoric has quit [Quit: Yoric]
little_owl1 has left #ocaml []
fraggle_ has joined #ocaml
ftrvxmtrx has joined #ocaml
joewilliams is now known as joewilliams_away
mbac has joined #ocaml
bzzbzz has quit [Quit: leaving]
yezariaely has joined #ocaml
_andre has quit [Quit: leaving]
fraggle_ has quit [Quit: -ENOBRAIN]
yezariaely has left #ocaml []
rixed_ has joined #ocaml
fraggle_ has joined #ocaml
Snark has quit [Quit: Ex-Chat]
Edward has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
init1 has quit [Quit: Quitte]
fraggle_ has quit [Ping timeout: 272 seconds]
mfp has joined #ocaml
gnuvince has quit [Ping timeout: 240 seconds]
fraggle_ has joined #ocaml
joewilliams_away is now known as joewilliams
fraggle_ has quit [Ping timeout: 245 seconds]
gnuvince has joined #ocaml
fraggle_ has joined #ocaml
Tianon has quit [Quit: brb, server needs a reboot]
boscop has quit [Ping timeout: 240 seconds]
seafood has joined #ocaml
boscop has joined #ocaml
joewilliams is now known as joewilliams_away
gnuvince has quit [Ping timeout: 240 seconds]
gnuvince has joined #ocaml
seafood has quit [Ping timeout: 272 seconds]
seafood has joined #ocaml
rixed_ has quit [Ping timeout: 255 seconds]
seafood has quit [Quit: seafood]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
seafood has joined #ocaml
albacker has quit []
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
gnuvince has quit [Ping timeout: 245 seconds]
gnuvince has joined #ocaml
ulfdoz has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
lamawithonel_ has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
lamawithonel has quit [Ping timeout: 264 seconds]
lamawithonel_ has quit [Ping timeout: 255 seconds]