[Haskell-cafe] Re: Shouldnt this be lazy too?

Vimal j.vimal at gmail.com
Mon Sep 24 13:03:58 EDT 2007


> Prelude> 10 + length (replicate maxBound 'a')
> -2147483639
>

Ah, nice example!

If you note, this doesnt allocate memory at all! Very less footprint!


More information about the Haskell-Cafe mailing list