On 26 April 2004 19:45, Don Groves wrote:
> Hello, Haskell newbie here.
>
> Some languages handle the Int/Integer question automatically,
> determined by the size of the integer in question. Int is used
> until the integer excedes what the underlying architecture can
> handle, then the switch is made to Integer (bignum). Is this
> something that could be handled similarly by the Haskell compiler
> without violating anything? Just thinking out loud...
This is exactly how GHC implements Integer, FWIW.
Cheers,
Simon
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell