X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FInst.lhs;h=98fe3e9872d191370c582d0e3452e34bfaad886d;hb=ad4a18b179fbe4ad314b3accf32e806cf00f2a0b;hp=8971320491ed72a668e94f76a3c619db02002e3f;hpb=3e83dfb21b2f2220dce97427fff5c19459ae68d1;p=ghc-hetmet.git diff --git a/compiler/typecheck/Inst.lhs b/compiler/typecheck/Inst.lhs index 8971320..98fe3e9 100644 --- a/compiler/typecheck/Inst.lhs +++ b/compiler/typecheck/Inst.lhs @@ -71,6 +71,7 @@ import Type ( TvSubst, substTy, substTyVar, substTyWith, substTheta, zipTopTvSub import Unify ( tcMatchTys ) import Module ( modulePackageId ) import {- Kind parts of -} Type ( isSubKind ) +import Coercion ( isEqPred ) import HscTypes ( ExternalPackageState(..), HscEnv(..) ) import CoreFVs ( idFreeTyVars ) import DataCon ( DataCon, dataConStupidTheta, dataConName, @@ -80,7 +81,7 @@ import Name ( Name, mkMethodOcc, getOccName, getSrcLoc, nameModule, isInternalName, setNameUnique ) import NameSet ( addOneToNameSet ) import Literal ( inIntRange ) -import Var ( TyVar, tyVarKind, setIdType ) +import Var ( Var, TyVar, tyVarKind, setIdType, mkTyVar ) import VarEnv ( TidyEnv, emptyTidyEnv ) import VarSet ( elemVarSet, emptyVarSet, unionVarSet, mkVarSet ) import TysWiredIn ( floatDataCon, doubleDataCon )