[Haskell-cafe] foldl and space problems

Bernard Pope bjpop at cs.mu.OZ.AU
Tue Jun 7 06:47:09 EDT 2005


On Tue, 2005-06-07 at 12:35 +0200, Gracjan Polak wrote:
> Bernard Pope wrote:
> > 
> > A more practical solution is to force the compiler to generate more
> > strict code. 
> 
> I tried to put strictness annotation in every place I could think of. 
> Without result :(

Did you try Data.List.foldl' ?

Perhaps you could post the definition of the state type? Or even better,
a small example of code that runs badly.

Cheers,
Bernie.



More information about the Haskell-Cafe mailing list