Safe Haskell | None |
---|---|
Language | GHC2021 |
Solving Class constraints CDictCan
Documentation
solveDictNC :: CtEvidence -> Class -> [Type] -> SolverStage Void Source #
checkInstanceOK :: CtLoc -> InstanceWhat -> TcPredType -> TcS CtLoc Source #
matchLocalInst :: TcPredType -> CtLoc -> TcS ClsInstResult Source #
chooseInstance :: CtEvidence -> ClsInstResult -> TcS (StopOrContinue a) Source #
mkStrictSuperClasses :: ExpansionFuel -> CtEvidence -> [TyVar] -> ThetaType -> Class -> [Type] -> TcS [Ct] Source #
solveCallStack :: CtEvidence -> EvCallStack -> TcS () Source #