| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
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
data FunDepEqns Source #
Instances
| Outputable FunDepEqns Source # | |
Defined in GHC.Tc.Instance.FunDeps Methods ppr :: FunDepEqns -> SDoc Source # | |
pprEquation :: FunDepEqns -> SDoc Source #
improveFromInstEnv :: InstEnvs -> Class -> [Type] -> [FunDepEqns] Source #
improveFromAnother :: PredType -> PredType -> [FunDepEqns] Source #
checkInstCoverage :: Bool -> Class -> [PredType] -> [Type] -> Validity' CoverageProblem Source #
pprFundeps :: Outputable a => [FunDep a] -> SDoc Source #
closeWrtFunDeps :: [PredType] -> TyCoVarSet -> TyCoVarSet Source #