On Thu, 10 Jan 2008 19:38:07 +0200, Tillmann Rendel <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED] wrote:
Although it could be argued that laziness is the cause of some very obscure bugs... <g> Niko
 Example, PLEASE.

Prelude> sum [1..1000000]
*** Exception: stack overflow

Not true in Hugs.

Prelude> Data.List.foldl' (+) 0 [1..1000000]
500000500000

   Tillmann
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
  part000.txt - is OK
http://www.eset.com




________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
 part000.txt - is OK
http://www.eset.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to