[Haskell-cafe] Maintaining laziness

Henning Thielemann lemming at henning-thielemann.de
Wed Jan 7 08:47:46 EST 2009


On Wed, 7 Jan 2009, Jan Christiansen wrote:

> The non least strict definition of (*) is taken from the module 
> Data.Number.Natural which was published by Lennart Augustsson in the numbers 
> package at hackage. I mention this here because I think it clearly shows that 
> it is even hard for experienced Haskell programmers to define least strict 
> functions.

very interesting ...

It's the third time within about 2 months were I was pointed to a lack of 
laziness in my own Peano implementation!


More information about the Haskell-Cafe mailing list