
5 Nov
2008
5 Nov
'08
9:10 a.m.
Henning Thielemann
Achim Schneider schrieb:
Henning Thielemann
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 (+) ?
Only for sufficient correct definitions of avg. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.