On Wed, 2007-07-11 at 10:55 -0700, Bryan O'Sullivan wrote:

> In a similar vein, I was initially perplexed when I 
> found that an expression like this produces garbage instead of an error:
> 
>    read "11111111111111111111111111111111111" :: Int
> 
> I have not seen a lot of interest expressed in fixing this sort of 
> misbehaviour, which jars a little with the usual emphasis on stringency 
> and testing.

I'd really like to have errors on overflow, at least as an option, even
if it is costly in terms of performance.  Is there a Trac ticket or
something for this?

-k

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

Reply via email to