X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypes%2FFunDeps.lhs;h=e3023aee27b678d4890f89b2f31ca6267232b6e4;hb=98688c6e8fd33f31c51218cf93cbf03fe3a5e73d;hp=6fd587a2053d0fad29d31bd62a7c773561556c2d;hpb=79c93a8a30aaaa6bd940c0677d6f3c57eb727fa2;p=ghc-hetmet.git diff --git a/ghc/compiler/types/FunDeps.lhs b/ghc/compiler/types/FunDeps.lhs index 6fd587a..e3023ae 100644 --- a/ghc/compiler/types/FunDeps.lhs +++ b/ghc/compiler/types/FunDeps.lhs @@ -17,7 +17,7 @@ import Name ( getSrcLoc ) import Var ( Id, TyVar ) import Class ( Class, FunDep, classTvsFds ) import Subst ( mkSubst, emptyInScopeSet, substTy ) -import TcType ( Type, ThetaType, SourceType(..), PredType, +import TcType ( Type, ThetaType, PredType(..), predTyUnique, mkClassPred, tyVarsOfTypes, tyVarsOfPred, unifyTyListsX, unifyExtendTysX, tcEqType ) @@ -177,7 +177,7 @@ improve :: InstEnv Id -- Gives instances for given class type InstEnv a = Class -> [(TyVarSet, [Type], a)] -- This is a bit clumsy, because InstEnv is really -- defined in module InstEnv. However, we don't want --- to define it (and ClsInstEnv) here because InstEnv +-- to define it here because InstEnv -- is their home. Nor do we want to make a recursive -- module group (InstEnv imports stuff from FunDeps). \end{code}