[Haskell-cafe] Re: Why purely in haskell?
cristi at ot.onrc.ro
Fri Jan 11 03:07:28 EST 2008
On Thu, 10 Jan 2008 19:38:07 +0200, Tillmann Rendel
<rendel at rbg.informatik.tu-darmstadt.de> wrote:
> jerzy.karczmarczuk at info.unicaen.fr 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]
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail
> part000.txt - is OK
________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
part000.txt - is OK
More information about the Haskell-Cafe