[project @ 2002-09-08 02:35:33 by sof]
authorsof <unknown>
Sun, 8 Sep 2002 02:35:34 +0000 (02:35 +0000)
committersof <unknown>
Sun, 8 Sep 2002 02:35:34 +0000 (02:35 +0000)
Hugs updates + fixes

Data/Char.hs
Data/Word.hs
Foreign/C/String.hs
Foreign/Storable.hs
Numeric.hs

index feadb18..505d735 100644 (file)
@@ -45,6 +45,8 @@ import GHC.Read (readLitChar, lexLitChar)
 #endif
 
 #ifdef __HUGS__
+import PrelImpl
+
 isLatin1 c = True
 #endif
 
index 3bcc8a7..ff81405 100644 (file)
@@ -17,7 +17,9 @@ module Data.Word
   ( 
        -- * Unsigned integral types
 
+#ifndef __HUGS__
        Word,
+#endif
        Word8, Word16, Word32, Word64,
        
        -- * Notes
index b1603c3..656b18f 100644 (file)
@@ -53,6 +53,7 @@ import GHC.Num
 import GHC.IOBase
 import GHC.Base
 #else
+import Char ( chr, ord )
 #define unsafeChr chr
 #endif
 
index 43fae68..e5d5202 100644 (file)
@@ -51,6 +51,7 @@ import Foreign.Ptr
 #endif
 
 #ifdef __HUGS__
+import PrelImpl
 import Hugs.Storable
 #endif
 
index 75c7b47..1b16963 100644 (file)
@@ -58,6 +58,7 @@ import qualified Text.Read.Lex as L
 #endif
 
 #ifdef __HUGS__
+import PrelImpl
 import Hugs.Numeric
 #endif