Documentation
type CanonicalCts = Bag CanonicalCtSource
andCCans :: [CanonicalCts] -> CanonicalCtsSource
isCTyEqCan :: CanonicalCt -> BoolSource
isCIPCan_Maybe :: CanonicalCt -> Maybe (IPName Name)Source
isDerivedSC :: CtFlavor -> BoolSource
isGivenCt :: CanonicalCt -> BoolSource
isWantedCt :: CanonicalCt -> BoolSource
canRewrite :: CtFlavor -> CtFlavor -> BoolSource
combineCtLoc :: CtFlavor -> CtFlavor -> WantedLocSource
mkGivenFlavor :: CtFlavor -> SkolemInfo -> CtFlavorSource
runTcS :: SimplContext -> Untouchables -> TcS a -> TcM (a, Bag FrozenError, Bag EvBind)Source
nestImplicTcS :: EvBindsVar -> Untouchables -> TcS a -> TcS aSource
recoverTcS :: TcS a -> TcS a -> TcS aSource
wrapErrTcS :: TcM a -> TcS aSource
wrapWarnTcS :: TcM a -> TcS aSource
newGivOrDerEvVar :: TcPredType -> EvTerm -> TcS EvVarSource
setWantedCoBind :: CoVar -> Coercion -> TcS ()Source
setDerivedCoBind :: CoVar -> Coercion -> TcS ()Source
setDictBind :: EvVar -> EvTerm -> TcS ()Source
setWantedTyBind :: TcTyVar -> TcType -> TcS ()Source
getInstEnvs :: TcS (InstEnv, InstEnv)Source
getTcSErrors :: TcS (IORef (Bag FrozenError))Source
instDFunConstraints :: TcThetaType -> TcS [EvVar]Source
newFlexiTcSTy :: Kind -> TcS TcTypeSource
isGoodRecEv :: EvVar -> WantedEvVar -> TcS BoolSource
compatKind :: Kind -> Kind -> BoolSource
getDefaultInfo :: TcS (SimplContext, [Type], (Bool, Bool))Source
matchClass :: Class -> [Type] -> TcS (MatchInstResult (DFunId, [Either TyVar TcType]))Source
mkWantedFunDepEqns :: WantedLoc -> [(Equation, (PredType, SDoc), (PredType, SDoc))] -> TcS [WantedEvVar]Source