[project @ 2000-10-23 12:00:21 by sewardj]
authorsewardj <unknown>
Mon, 23 Oct 2000 12:00:22 +0000 (12:00 +0000)
committersewardj <unknown>
Mon, 23 Oct 2000 12:00:22 +0000 (12:00 +0000)
Track renaming of typecheck/TcInstUtil to types/InstEnv.

ghc/compiler/main/MkIface.lhs
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcImprove.lhs
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/typecheck/TcModule.lhs
ghc/compiler/typecheck/TcSimplify.lhs
ghc/compiler/types/InstEnv.lhs

index 1d709ef..5ab757f 100644 (file)
@@ -20,7 +20,7 @@ import BasicTypes     ( Fixity(..), NewOrData(..),
                        )
 import RnMonad
 
-import TcInstUtil      ( InstInfo(..) )
+import InstEnv ( InstInfo(..) )
 
 import CmdLineOpts
 import Id              ( Id, idType, idInfo, omitIfaceSigForId, isUserExportedId, hasNoBinding,
index 307d49e..8d6c869 100644 (file)
@@ -44,7 +44,7 @@ import TcHsSyn        ( TcExpr, TcId,
                )
 import TcMonad
 import TcEnv   ( TcIdSet, tcGetInstEnv, tcLookupGlobalId )
-import TcInstUtil ( InstLookupResult(..), lookupInstEnv )
+import InstEnv ( InstLookupResult(..), lookupInstEnv )
 import TcType  ( TcThetaType,
                  TcType, TcTauType, TcTyVarSet,
                  zonkTcTyVars, zonkTcType, zonkTcTypes, 
index 492d227..28a2e24 100644 (file)
@@ -18,7 +18,7 @@ import CmdLineOpts    ( DynFlag(..), DynFlags )
 import TcMonad
 import TcEnv           ( TcEnv, tcSetInstEnv, getTcGST, newDFunName )
 import TcGenDeriv      -- Deriv stuff
-import TcInstUtil      ( InstInfo(..), InstEnv, 
+import InstEnv ( InstInfo(..), InstEnv, 
                          pprInstInfo, simpleDFunClassTyCon, extendInstEnv )
 import TcSimplify      ( tcSimplifyThetas )
 
index 27b0a8b..b244765 100644 (file)
@@ -69,7 +69,7 @@ import UniqFM
 import Util            ( zipEqual )
 import SrcLoc          ( SrcLoc )
 import Outputable
-import TcInstUtil      ( emptyInstEnv )
+import InstEnv ( emptyInstEnv )
 
 import IOExts          ( newIORef )
 \end{code}
index 8a66a7d..6c7c51c 100644 (file)
@@ -8,7 +8,7 @@ import Class            ( Class, FunDep, className )
 import Unify           ( unifyTyListsX )
 import Subst           ( mkSubst, emptyInScopeSet, substTy )
 import TcEnv           ( tcGetInstEnv )
-import TcInstUtil      ( classInstEnv )
+import InstEnv ( classInstEnv )
 import TcMonad
 import TcType          ( TcType, TcTyVarSet, zonkTcType )
 import TcUnify         ( unifyTauTyLists )
index 987d1d5..a94d11f 100644 (file)
@@ -33,7 +33,7 @@ import TcEnv          ( TcEnv, tcExtendGlobalValEnv,
                          tcAddImportedIdInfo, tcInstId, tcLookupClass,
                          newDFunName, tcExtendTyVarEnv
                        )
-import TcInstUtil      ( InstInfo(..), InstEnv, pprInstInfo, classDataCon, 
+import InstEnv ( InstInfo(..), InstEnv, pprInstInfo, classDataCon, 
                          simpleInstInfoTyCon, simpleInstInfoTy, isLocalInst,
                          extendInstEnv )
 import TcMonoType      ( tcTyVars, tcHsSigType, tcHsType, kcHsSigType )
index 850dc53..608511b 100644 (file)
@@ -33,7 +33,7 @@ import TcRules                ( tcRules )
 import TcForeign       ( tcForeignImports, tcForeignExports )
 import TcIfaceSig      ( tcInterfaceSigs )
 import TcInstDcls      ( tcInstDecls1, tcInstDecls2 )
-import TcInstUtil      ( InstInfo(..) )
+import InstEnv ( InstInfo(..) )
 import TcSimplify      ( tcSimplifyTop )
 import TcTyClsDecls    ( tcTyAndClassDecls )
 import TcTyDecls       ( mkImplicitDataBinds )
index 45cc94c..5d430e6 100644 (file)
@@ -143,7 +143,7 @@ import Inst         ( lookupInst, lookupSimpleInst, LookupInstResult(..),
                          lieToList 
                        )
 import TcEnv           ( tcGetGlobalTyVars, tcGetInstEnv )
-import TcInstUtil      ( lookupInstEnv, InstLookupResult(..) )
+import InstEnv         ( lookupInstEnv, InstLookupResult(..) )
 
 import TcType          ( TcTyVarSet )
 import TcUnify         ( unifyTauTy )
index 083ea79..d054178 100644 (file)
@@ -1,12 +1,12 @@
 %
 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
 %
-\section[TcInstUtil]{Utilities for typechecking instance declarations}
+\section[InstEnv]{Utilities for typechecking instance declarations}
 
 The bits common to TcInstDcls and TcDeriv.
 
 \begin{code}
-module TcInstUtil (
+module InstEnv (
        InstInfo(..), pprInstInfo,
        simpleInstInfoTy, simpleInstInfoTyCon, simpleDFunClassTyCon,