[Haskell-cafe] Re: Problems with strictness analysis?
Henning Thielemann
schlepptop at henning-thielemann.de
Wed Nov 5 09:04:13 EST 2008
Achim Schneider schrieb:
> Henning Thielemann <schlepptop at henning-thielemann.de> wrote:
>>
>> There was
>> http://www.haskell.org/haskellwiki/Things_to_avoid
>>
>> which has been renamed to the more friendly
>> "Haskell programming tips"
>>
> I was rather thinking of a list of performance pitfalls and laziness
> tarpits, starting with the all-famous
>
> avg xs = sum xs + length xs
(/) instead of (+) ?
In the old hawiki there was an article about that particular example ...
More information about the Haskell-Cafe
mailing list