[Haskell-cafe] Profiling help (Warning: Euler spoilers)

Louis Wasserman wasserman.louis at gmail.com
Wed Mar 3 22:20:05 EST 2010


James,

Which version of Control.Monad.State are you importing?

If you're just importing vanilla Control.Monad.State, that's actually
sending you to Control.Monad.State.Lazy.

Using Control.Monad.State.Strict might solve your problems, srsly.  Laziness
can result in epically failing memory leaks.

Louis Wasserman
wasserman.louis at gmail.com
http://profiles.google.com/wasserman.louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100303/9a1a10a9/attachment.html


More information about the Haskell-Cafe mailing list