Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
tcSubType :: CtOrigin -> UserTypeCtxt -> TcSigmaType -> TcSigmaType -> TcM HsWrapper Source
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 [TcCoercion] Source
matchExpectedListTy :: TcRhoType -> TcM (TcCoercion, TcRhoType) Source
matchExpectedPArrTy :: TcRhoType -> TcM (TcCoercion, TcRhoType) Source
matchExpectedTyConApp :: TyCon -> TcRhoType -> TcM (TcCoercion, [TcSigmaType]) Source
matchExpectedAppTy :: TcRhoType -> TcM (TcCoercion, (TcSigmaType, TcSigmaType)) Source
matchExpectedFunTys :: SDoc -> Arity -> TcRhoType -> TcM (TcCoercion, [TcSigmaType], TcRhoType) Source