X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypes%2FFunDeps.lhs;h=06248b7b3cd4a79ee1ee6f534fb050be078e2b89;hp=5ece0471884ec94b704736a60133a1328c7ce17f;hb=ab22f4e6456820c1b5169d75f5975a94e61f54ce;hpb=6b4592943b799175dec4549882bbf06fa87a0739 diff --git a/compiler/types/FunDeps.lhs b/compiler/types/FunDeps.lhs index 5ece047..06248b7 100644 --- a/compiler/types/FunDeps.lhs +++ b/compiler/types/FunDeps.lhs @@ -1,7 +1,9 @@ - +% +% (c) The University of Glasgow 2006 % (c) The GRASP/AQUA Project, Glasgow University, 2000 % -\section[FunDeps]{FunDeps - functional dependencies} + +FunDeps - functional dependencies It's better to read it as: "if we know these, then we're going to know these" @@ -15,23 +17,22 @@ module FunDeps ( #include "HsVersions.h" -import Name ( Name, getSrcLoc ) -import Var ( TyVar ) -import Class ( Class, FunDep, pprFundeps, classTvsFds ) -import TcGadt ( tcUnifyTys, BindFlag(..) ) -import Type ( substTys, notElemTvSubst ) -import Coercion ( isEqPred ) -import TcType ( Type, PredType(..), tcEqType, - predTyUnique, mkClassPred, tyVarsOfTypes, tyVarsOfPred ) -import InstEnv ( Instance(..), InstEnv, instanceHead, classInstances, - instanceCantMatch, roughMatchTcs ) +import Name +import Var +import Class +import TcGadt +import Type +import Coercion +import TcType +import InstEnv import VarSet import VarEnv import Outputable -import Util ( notNull ) -import List ( tails ) -import Maybe ( isJust ) -import ListSetOps ( equivClassesByUniq ) +import Util +import ListSetOps + +import Data.List ( tails ) +import Data.Maybe ( isJust ) \end{code}