[Haskell-cafe] Re: Nested unsafePerformIO?
polyomino at f2s.com
Thu Apr 8 14:39:51 EDT 2010
Bas van Dijk <v.dijk.bas <at> gmail.com> writes:
> It looks like your timedIterateIO is too lazy.
> Try evaluating the 'y' before calling timedIterateIO' again as in:
> let y = f x
> ... y `seq` timedIterateIO' t0 y
that appears to do the trick.
I'm still a bit puzzled about why the problem only manifested in this case
- it didn't manifest when I used iterate, for example.
More information about the Haskell-Cafe