On Tuesday 14 August 2007 00:22, L.Guo wrote:

> 2) We have this type definition :
>     pureSieve :: Int -> Int
>    Why there is no error (type mismatch) of this call in func main :
>     pureSieve 10000000

The Haskell Report says that an Int covers at least the range [- 2^29, 2^29 - 
1], which that number is well within . . . . why do you think it should 
report a type error? 


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

Reply via email to