X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FInt.hs;h=1033270df0938cf0cf0593268d162411ed2449fd;hb=c926c49d6a535729214d31815a748520561191a6;hp=7b57ae4774b93b30eeeb058bdfde1b84649f3f99;hpb=4aa4c78edf3cf4607ddeb669f536d646395ae9f0;p=ghc-base.git diff --git a/Data/Int.hs b/Data/Int.hs index 7b57ae4..1033270 100644 --- a/Data/Int.hs +++ b/Data/Int.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Int @@ -25,7 +25,19 @@ module Data.Int ) where #ifdef __GLASGOW_HASKELL__ -import GHC.Int +import GHC.Base ( Int ) +import GHC.Int ( Int8, Int16, Int32, Int64 ) +#endif + +#ifdef __HUGS__ +import Hugs.Int ( Int8, Int16, Int32, Int64 ) +#endif + +#ifdef __NHC__ +import Prelude +import Prelude (Int) +import NHC.FFI (Int8, Int16, Int32, Int64) +import NHC.SizedTypes (Int8, Int16, Int32, Int64) -- instances of Bits #endif {- $notes