match, matchTy, matchTys
) where
-import TypeRep ( Type(..), funTyCon
- ) -- friend
-import Type ( typeKind, tyVarsOfType, splitAppTy_maybe
- )
+import TypeRep ( Type(..) ) -- friend
+import Type ( typeKind, tyVarsOfType, splitAppTy_maybe )
import PprType () -- Instances
-- This import isn't strictly necessary, but it makes sure that
-- PprType is below Unify in the hierarchy, which in turn makes
-- fewer modules boot-import PprType
-import Var ( TyVar, tyVarKind )
+import Var ( tyVarKind )
import VarSet
import VarEnv ( TyVarSubstEnv, emptySubstEnv, lookupSubstEnv, extendSubstEnv,
SubstResult(..)
)
import Outputable( panic )
-import Util ( snocView )
\end{code}
%************************************************************************
match_list (ty1:tys1) (ty2:tys2) tmpls k senv = match ty1 ty2 tmpls (match_list tys1 tys2 tmpls k) senv
\end{code}
+