24 Oct
2001
24 Oct
'01
9:54 a.m.
I just wanted to be sure you saw this from the Haskell list. --Dylan Thurston ----- Forwarded message from Ketil Malde <ketil@ii.uib.no> ----- To: Pixel <pixel@mandrakesoft.com> Cc: George Russell <ger@tzi.de>, haskell@haskell.org Subject: Re: Enum class From: Ketil Malde <ketil@ii.uib.no> Pixel <pixel@mandrakesoft.com> 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.