[Haskell-cafe] Nested Types stack size ...

Ron de Bruijn ron at gamr7.com
Thu Feb 4 08:46:07 EST 2010


Hi,

Günther Schmidt schreef:
> Hi,
> 
> I'm using deeply nested types in my app and exceed some stack-size in ghci.
> 
> I can't remember the runtime option I have to pass to ghci anymore, it's 
> been about a year since I last pursued this approach.
ghci +RTS --help suggests  -K<size> Sets the maximum stack size (default 8M)
Egs: -K32k   -K512k. ghci is just another Haskell program which uses the GHC RTS.
> 
> Is it also possible to set this stack-size via pragma in the source code?
Via an OPTIONS_GHC pragma, if possible.
-- 

Best Regards,
Ron de Bruijn,
Developer, Gamr7



More information about the Haskell-Cafe mailing list