|marius| has quit [Read error: Operation timed out]
valross has quit [Remote host closed the connection]
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
malc_ has quit [Quit: leaving]
Associat0r has joined #ocaml
|marius| has joined #ocaml
ulfdoz has joined #ocaml
mjonsson has quit [Ping timeout: 252 seconds]
jakedouglas has quit [Quit: Leaving.]
ulfdoz has quit [Quit: deprecated]
ulfdoz has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
jsk-away is now known as jsk
ygrek_ has joined #ocaml
Amorphous has quit [Ping timeout: 276 seconds]
fremo___ has joined #ocaml
fremo__ has quit [Ping timeout: 265 seconds]
ftrvxmtrx has quit [Quit: Leaving]
Amorphous has joined #ocaml
npouillard has quit [Ping timeout: 260 seconds]
npouillard has joined #ocaml
ttamttam has joined #ocaml
ygrek_ has quit [Ping timeout: 245 seconds]
|marius| has quit [Remote host closed the connection]
ikaros has joined #ocaml
_unK has joined #ocaml
Yoric has joined #ocaml
boscop has quit [Ping timeout: 265 seconds]
boscop has joined #ocaml
pikachuyann has joined #ocaml
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ikaros has quit [Quit: Leave the magic to Houdini]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Remote host closed the connection]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx_ is now known as ftrvxmtrx
sepp2k has joined #ocaml
verte has joined #ocaml
avsm has joined #ocaml
pikachuyann has quit [Quit: Quitte]
_andre has joined #ocaml
ygrek_ has joined #ocaml
avsm has quit [Quit: Leaving.]
spearalot has joined #ocaml
metasyntax`` is now known as metasyntax`
Associat0r has quit [Quit: Associat0r]
iratsu has quit [Ping timeout: 276 seconds]
pikachuyann has joined #ocaml
iratsu` has joined #ocaml
mjonsson has joined #ocaml
iratsu` has quit [Ping timeout: 240 seconds]
iratsu` has joined #ocaml
spearalot has quit [Quit: -arividerchi]
iratsu` has quit [Read error: Operation timed out]
iratsu` has joined #ocaml
mjonsson has quit [Ping timeout: 265 seconds]
Associat0r has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Associat0r has joined #ocaml
ftrvxmtrx has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
verte has quit [Quit: ~~~ Crash in JIT!]
joewilliams_away is now known as joewilliams
sepp2k has quit [Quit: Leaving.]
philtor has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
iratsu` has quit [Ping timeout: 240 seconds]
iratsu has joined #ocaml
Leonidas has joined #ocaml
<Leonidas>
hi
<Leonidas>
excuse me for being dumb, but how does a simple camllight program that prints hello world look like?
<Leonidas>
while stuff works at the REPL, I can't get the binary produced by camlc to do anything useful
<sgnb>
Leonidas: do you get some kind of error message?
jsk is now known as jsk-awayi
jsk-awayi is now known as jsk-away
<Leonidas>
sgnb: no, the generated a.out just does nothing.
<Leonidas>
I seem to lack some kind of main entry point
<sgnb>
what's the contents of your .ml file?
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
avsm has joined #ocaml
<Leonidas>
sgnb: I just had print_string "foo";;
<Leonidas>
sgnb: but I took a look into the minicaml examples
<orbitz>
print_string "foo\n";;
<orbitz>
your shell might be eating th line
<orbitz>
or print_newline "foo";;
<Leonidas>
I got it solved, thanks for the help :)
ftrvxmtrx has quit [Quit: Leaving]
<Leonidas>
speaking of it, there seems to be a camllight 0.80 release and ubuntu-fr has also binaries, but I can't find the tarball?
ikaros has joined #ocaml
jakedouglas has joined #ocaml
<thelema>
Leonidas: what was the solution?
<Leonidas>
thelema: I used a begin and end block. Ugly, but I just wanted to compile a small snippet.
<sgnb>
strange
* Leonidas
agrees
Anarchos has joined #ocaml
|marius| has joined #ocaml
ttamttam has quit [Remote host closed the connection]
<_andre>
lunch time
<_andre>
oops, wrong window :P
Yoric has quit [Quit: Yoric]
ulfdoz has joined #ocaml
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
sepp2k has joined #ocaml
Yoric has joined #ocaml
ygrek_ has quit [Remote host closed the connection]
ygrek_ has joined #ocaml
ftrvxmtrx has joined #ocaml
BiDOrD has joined #ocaml
avsm has quit [Quit: Leaving.]
svenl has quit [Ping timeout: 276 seconds]
svenl has joined #ocaml
iratsu has quit [Ping timeout: 276 seconds]
iratsu` has joined #ocaml
_andre has quit [Quit: Lost terminal]
ulfdoz has quit [Ping timeout: 248 seconds]
BiD0rD has joined #ocaml
sepp2k has quit [Read error: Operation timed out]
sepp2k has joined #ocaml
BiDOrD has quit [Ping timeout: 276 seconds]
ygrek_ has quit [Ping timeout: 245 seconds]
ygrek_ has joined #ocaml
Yoric has quit [Quit: Yoric]
<rwmjones>
any data structure gurus around?
<rwmjones>
I want to store a list of pathnames as compactly as possible (lookup time doesn't really matter, but I want to keep it as small as possible)
<rwmjones>
there are expected to be many common prefixes -- basically it's a list of pathnames in a Linux filesystem, so eg. /usr/bin/ prefix would be very common
<melba>
so a prefix tree
<rwmjones>
a trie?
<melba>
y
itewsh has joined #ocaml
<adrien>
because I wanted to suggest something noone else would suggest: type usr = UsrBin | UsrDoc | ... and type root = Bin of string | Etc | ... | Usr | Other of string
<adrien>
more seriously, I'd probably compress with something like lzo, it's *very* fast
<adrien>
which brings me to ... "we need bindings to libarchive"