Why wouldn't the environment (i.e. available dynamic libraries) be
correct for the web server?
beacuse it runs CGI programs in a chroot jail?
Then you need to copy the .so files into the jail, cf.
http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html
J.W.
Hi.
I want to use parsers from haskell-src-exts as sub-parsers,
which does not seem to work since they insist on consuming the input completely.
I would need them to parse a maximal prefix,
and return the (unconsumed) rest of input as well
(cf.
why has the following code indentation problem ?
rollDice n = do
let myGen =
if doesFileExist /dev/urandom
then betterStdGen
else (mkStdGen . fromInteger) $ picoSec
because if starts in the same column as myGen,
so the parser inserts a ; before the if.
parse K-ary forest and convert it to dot script (Graphviz).
cf. http://hackage.haskell.org/package/graphviz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
It looks like your best bet may be to use GHC 6.12
but then the question remains: what version exactly,
and where do I get it.
it seems I need something that was HEAD at the time (6.13.* ?)
but I don't find older snapshot releases on http://haskell.org/ghc/dist/
Thanks - J.W.
I was trying to find an easy example for par/pseq,
and I finally used plain mergesort ( on Prelude.[] )
and I observed that it is best to give +RTS -A1G (or more)
such that there are only very few garbage collections.
This roughly cuts execution time in half
(from +RTS -N1 to -N4, on an i7 CPU)
http://icfpcontest.org/2010/
will start roughly 12 hours from now.
2210222201011220101002200112200220010
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe