Lazy computation being repeated?

Jules Bean jules at jellybean.co.uk
Thu May 28 02:04:23 EDT 2009


Tyson Whitehead wrote:
> I have a program that seems to me to be exhibiting strange behaviour.  
> Basically, it looks like something somewhere is not being updated, and this is 
> resulting in (very expensive) computation being repeated.

Just a hunch - try recompiling your modules with -fno-state-hack.

q.v. http://hackage.haskell.org/trac/ghc/ticket/2284


More information about the Glasgow-haskell-users mailing list