| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Tc.Instance.FunDeps
Description
Functional dependencies
It's better to read it as: "if we know these, then we're going to know these"
Documentation
pprEquation :: FunDepEqn a -> SDoc #
improveFromAnother :: loc -> PredType -> PredType -> [FunDepEqn loc] #
checkInstCoverage :: Bool -> Class -> [PredType] -> [Type] -> Validity' CoverageProblem #
checkFunDeps :: InstEnvs -> ClsInst -> [ClsInst] #
pprFundeps :: Outputable a => [FunDep a] -> SDoc #
closeWrtFunDeps :: [PredType] -> TyCoVarSet -> TyCoVarSet #