Both GHC 4.04 and Hugs 98 agree on violating the Haskell 98
definition by including `fromInt' into `Num' and `toInt'
into `Integral'.  GHC's `Prelude.lhs' says in the export list

   Num((+), (-), (*), negate, abs, signum, fromInteger, fromInt{-glaExt-}),
   [...]
   Integral(quot, rem, div, mod, quotRem, divMod, toInteger, toInt{-partain-}),

Will is obviously still haunting the source ;-)  If `fromInt'
is necessary as an extension, I believe, it shouldn't
appear unless -fglasgow-exts is specified.

Cheers,
Manuel

PS: For Hugs, I tested this on the 990121 Beta, because
    *blush* I didn't get around installing the latest
    version yet.

Reply via email to