From: simonpj Date: Mon, 30 Aug 1999 09:16:47 +0000 (+0000) Subject: [project @ 1999-08-30 09:16:47 by simonpj] X-Git-Tag: Approximately_9120_patches~5855 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=06bab813a079bf70d62c9d762c369c29459179d8;p=ghc-hetmet.git [project @ 1999-08-30 09:16:47 by simonpj] Num( fromInt ) and Integral( toInt ) are not Haskell 98, and so they should be exposed only by GlaExts, not by Prelude. --- diff --git a/ghc/lib/std/Prelude.lhs b/ghc/lib/std/Prelude.lhs index 401e5ca..0b9f102 100644 --- a/ghc/lib/std/Prelude.lhs +++ b/ghc/lib/std/Prelude.lhs @@ -43,9 +43,11 @@ module Prelude ( Ord(..), Enum(..), Bounded(..), - Num((+), (-), (*), negate, abs, signum, fromInteger, fromInt{-glaExt-}), + Num((+), (-), (*), negate, abs, signum, fromInteger), + -- The fromInt method is exposed only by GlaExts Real(..), - Integral(quot, rem, div, mod, quotRem, divMod, toInteger, toInt{-partain-}), + Integral(quot, rem, div, mod, quotRem, divMod, toInteger), + -- The toInt method is exposed only by GlaExts Fractional(..), Floating(..), RealFrac(..),