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

Ah, nice example!

If you note, this doesnt allocate memory at all! Very less footprint!
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to