I just wanted to be sure you saw this from the Haskell list.

--Dylan Thurston

----- Forwarded message from Ketil Malde <[EMAIL PROTECTED]> -----

To: Pixel <[EMAIL PROTECTED]>
Cc: George Russell <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Enum class
From: Ketil Malde <[EMAIL PROTECTED]>

Pixel <[EMAIL PROTECTED]> writes:

> i':: Integer
> i'= 0x7fffffff
> i_plus_1' = i+1
>   -- ghc : 2147483648
>   -- hugs: 2147483648

> i_succ' = succ i'
>   -- ghc : 2147483648
>   -- hugs: -2147483648

I think Hugs is wrong.  Integer shouldn't wrap.

PGP signature

Reply via email to