[project @ 2000-04-13 23:03:12 by sewardj]
[ghc-hetmet.git] / ghc / lib / std / PrelBase.lhs
index 4934e7f..7ed127c 100644 (file)
@@ -71,7 +71,7 @@ Other Prelude modules are much easier with fewer complex dependencies.
 
 
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS -fcompiling-prelude -fno-implicit-prelude #-}
 
 module PrelBase
        (
@@ -82,6 +82,9 @@ module PrelBase
        where
 
 import {-# SOURCE #-} PrelErr ( error )
+import {-# SOURCE #-} PrelNum ( addr2Integer )
+  -- Otherwise the system import of addr2Integer looks for PrelNum.hi
+
 import PrelGHC
 
 infixr 9  .
@@ -538,9 +541,6 @@ instance CReturnable Char
 instance CCallable   Int
 instance CReturnable Int
 
--- DsCCall knows how to pass strings...
-instance CCallable   [Char]
-
 instance CReturnable () -- Why, exactly?
 \end{code}