projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-29 16:10:27 by wolfgang]
[ghc-base.git]
/
Data
/
Word.hs
diff --git
a/Data/Word.hs
b/Data/Word.hs
index
3bcc8a7
..
e3a1ab9
100644
(file)
--- a/
Data/Word.hs
+++ b/
Data/Word.hs
@@
-1,4
+1,4
@@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Word
-----------------------------------------------------------------------------
-- |
-- Module : Data.Word
@@
-33,6
+33,12
@@
import GHC.Word
import Hugs.Word
#endif
import Hugs.Word
#endif
+#ifdef __NHC__
+import NHC.FFI (Word8, Word16, Word32, Word64)
+import NHC.SizedTypes (Word8, Word16, Word32, Word64) -- instances of Bits
+type Word = Word32
+#endif
+
{- $notes
* All arithmetic is performed modulo 2^n, where n is the number of
{- $notes
* All arithmetic is performed modulo 2^n, where n is the number of