I am writing several one-time Haskell scripts to solve some of the problems of Project Euler . I really do not want to compile them because of the number of changes that I constantly have to make, but in some cases I found that I had run out of stack space.
The documentation for runhaskell says that the following syntax should increase stack space:
runhaskell +RTS -K5M -RTS Script.hs
It never, never works (in any permutation I tried). The stack size always remains 8 388 608. This is crazy, and I did not find much help on Google.
Any suggestions? What am I doing wrong?
haskell haskell-stack
Gregory Higley Nov 08 '08 at 21:48 2008-11-08 21:48
source share