projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-04-24 12:25:26 by malcolm]
[ghc-base.git]
/
Data
/
Word.hs
diff --git
a/Data/Word.hs
b/Data/Word.hs
index
6308556
..
3a0a795
100644
(file)
--- a/
Data/Word.hs
+++ b/
Data/Word.hs
@@
-29,6
+29,16
@@
module Data.Word
import GHC.Word
#endif
import GHC.Word
#endif
+#ifdef __HUGS__
+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