Documentation
tcSubType :: CtOrigin -> UserTypeCtxt -> TcSigmaType -> TcSigmaType -> TcM HsWrapperSource
tcGen :: UserTypeCtxt -> TcType -> ([TcTyVar] -> TcRhoType -> TcM result) -> TcM (HsWrapper, result)Source
checkConstraints :: SkolemInfo -> [TcTyVar] -> [EvVar] -> TcM result -> TcM (TcEvBinds, result)Source
newImplication :: SkolemInfo -> [TcTyVar] -> [EvVar] -> TcM result -> TcM (TcEvBinds, result)Source
unifyTypeList :: [TcTauType] -> TcM ()Source
unifyTheta :: TcThetaType -> TcThetaType -> TcM [Coercion]Source
matchExpectedTyConApp :: TyCon -> TcRhoType -> TcM (Coercion, [TcSigmaType])Source
matchExpectedAppTy :: TcRhoType -> TcM (Coercion, (TcSigmaType, TcSigmaType))Source
matchExpectedFunTys :: SDoc -> Arity -> TcRhoType -> TcM (Coercion, [TcSigmaType], TcRhoType)Source
failWithMisMatch :: [EqOrigin] -> TcM aSource