X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FInt.hs;h=c9c9036d53b49ac3ee5d0d1ad7e64b8b1845d3f2;hb=f98950484a7cb01e43352e3d88277a2784cd58bf;hp=d189a3e0fed5bfdd7da3ce80e99a4d701af61a8d;hpb=a1829008e4cdf36a1ecdda221e52e94a2030464a;p=ghc-base.git diff --git a/Data/Int.hs b/Data/Int.hs index d189a3e..c9c9036 100644 --- a/Data/Int.hs +++ b/Data/Int.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# LANGUAGE CPP, NoImplicitPrelude #-} + ----------------------------------------------------------------------------- -- | -- Module : Data.Int @@ -15,18 +16,18 @@ module Data.Int ( - -- * Signed integer types - Int, - Int8, Int16, Int32, Int64, + -- * Signed integer types + Int, + Int8, Int16, Int32, Int64, - -- * Notes + -- * Notes - -- $notes - ) where + -- $notes + ) where #ifdef __GLASGOW_HASKELL__ -import GHC.Base ( Int ) -import GHC.Int ( Int8, Int16, Int32, Int64 ) +import GHC.Base ( Int ) +import GHC.Int ( Int8, Int16, Int32, Int64 ) #endif #ifdef __HUGS__ @@ -37,7 +38,7 @@ import Hugs.Int ( Int8, Int16, Int32, Int64 ) import Prelude import Prelude (Int) import NHC.FFI (Int8, Int16, Int32, Int64) -import NHC.SizedTypes (Int8, Int16, Int32, Int64) -- instances of Bits +import NHC.SizedTypes (Int8, Int16, Int32, Int64) -- instances of Bits #endif {- $notes