X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FWord.hs;h=18300d2512c2d1a02557e706fc03cea775668159;hb=41e8fba828acbae1751628af50849f5352b27873;hp=3f2242300b4fc5a62dab40d9e38b927055565b97;hpb=e86c2ab298a9bb6ec7c8beec50d60427124317c0;p=ghc-base.git diff --git a/Data/Word.hs b/Data/Word.hs index 3f22423..18300d2 100644 --- a/Data/Word.hs +++ b/Data/Word.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# LANGUAGE CPP, NoImplicitPrelude #-} + ----------------------------------------------------------------------------- -- | -- Module : Data.Word @@ -14,16 +15,16 @@ ----------------------------------------------------------------------------- module Data.Word - ( - -- * Unsigned integral types + ( + -- * Unsigned integral types + + Word, + Word8, Word16, Word32, Word64, + + -- * Notes - Word, - Word8, Word16, Word32, Word64, - - -- * Notes - - -- $notes - ) where + -- $notes + ) where #ifdef __GLASGOW_HASKELL__ import GHC.Word @@ -35,7 +36,7 @@ import Hugs.Word #ifdef __NHC__ import NHC.FFI (Word8, Word16, Word32, Word64) -import NHC.SizedTypes (Word8, Word16, Word32, Word64) -- instances of Bits +import NHC.SizedTypes (Word8, Word16, Word32, Word64) -- instances of Bits type Word = Word32 #endif