[project @ 1997-09-22 09:15:20 by simonm]
authorsimonm <unknown>
Mon, 22 Sep 1997 09:15:32 +0000 (09:15 +0000)
committersimonm <unknown>
Mon, 22 Sep 1997 09:15:32 +0000 (09:15 +0000)
fix imports for bootstrapping

ghc/compiler/coreSyn/CoreLint.lhs
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/Unify.lhs

index 4c3aa28..981c0c4 100644 (file)
@@ -12,6 +12,7 @@ module CoreLint (
     ) where
 
 IMP_Ubiq()
+IMPORT_1_3(IO(hPutStr,stderr))
 
 import CmdLineOpts      ( opt_D_show_passes, opt_PprUserLength, opt_DoCoreLinting )
 import CoreSyn
index 94aa166..dd422ae 100644 (file)
@@ -44,7 +44,7 @@ import Id             ( dataConArgTys, isNullaryDataCon, mkDictFunId )
 import PrelInfo                ( needsDataDeclCtxtClassKeys )
 import Maybes          ( maybeToBool )
 import Name            ( isLocallyDefined, getSrcLoc, ExportFlag(..), Provenance, 
-                         Name{--O only-}, SYN_IE(Module)
+                         Name{--O only-}, SYN_IE(Module), NamedThing(..)
                        )
 import Outputable      ( PprStyle(..), Outputable(..){-instances e.g., (,)-} )
 import PprType         ( GenType, GenTyVar, GenClass, TyCon )
index dcab735..cca9e33 100644 (file)
@@ -19,7 +19,7 @@ IMP_Ubiq()
 -- friends: 
 import TcMonad
 import Type    ( GenType(..), typeKind, mkFunTy, getFunTy_maybe, splitAppTys )
-import TyCon   ( TyCon, mkFunTyCon, isTupleTyCon, tyConArity )
+import TyCon   ( TyCon, mkFunTyCon, isTupleTyCon, tyConArity, SYN_IE(Arity) )
 import Class   ( GenClass )
 import TyVar   ( GenTyVar(..), SYN_IE(TyVar), tyVarKind )
 import TcType  ( SYN_IE(TcType), TcMaybe(..), SYN_IE(TcTauType), SYN_IE(TcTyVar),