X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FInt.hs;h=e48656d1e8ac0d7e70ce651eefcc283effd746de;hb=9fcd4e60afbfe43c62372cd75fd940c2c4294265;hp=025ebdb497b17ca1341e8f65548692009021f607;hpb=be44c54248f9a5a5bd6168af464013b405c15aab;p=ghc-base.git diff --git a/GHC/Int.hs b/GHC/Int.hs index 025ebdb..e48656d 100644 --- a/GHC/Int.hs +++ b/GHC/Int.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Int @@ -15,6 +15,7 @@ #include "MachDeps.h" +-- #hide module GHC.Int ( Int8(..), Int16(..), Int32(..), Int64(..)) where @@ -41,9 +42,6 @@ import GHC.Show data Int8 = I8# Int# deriving (Eq, Ord) -- ^ 8-bit signed integer type -instance CCallable Int8 -instance CReturnable Int8 - instance Show Int8 where showsPrec p x = showsPrec p (fromIntegral x :: Int) @@ -150,9 +148,6 @@ instance Bits Int8 where data Int16 = I16# Int# deriving (Eq, Ord) -- ^ 16-bit signed integer type -instance CCallable Int16 -instance CReturnable Int16 - instance Show Int16 where showsPrec p x = showsPrec p (fromIntegral x :: Int) @@ -505,9 +500,6 @@ instance Bits Int32 where #endif -instance CCallable Int32 -instance CReturnable Int32 - instance Real Int32 where toRational x = toInteger x % 1 @@ -779,9 +771,6 @@ instance Bits Int64 where #endif -instance CCallable Int64 -instance CReturnable Int64 - instance Real Int64 where toRational x = toInteger x % 1