ghc-7.4.1: The GHC API

Safe Haskell | Safe-Infered

TcExpr

# Documentation

tcPolyExpr, tcPolyExprNC :: LHsExpr Name -> TcSigmaType -> TcM (LHsExpr TcId)

tcMonoExpr, tcMonoExprNC :: LHsExpr Name -> TcRhoType -> TcM (LHsExpr TcId)

tcInferRho, tcInferRhoNC :: LHsExpr Name -> TcM (LHsExpr TcId, TcRhoType)

tcSyntaxOp :: CtOrigin -> HsExpr Name -> TcType -> TcM (HsExpr TcId)

tcCheckId :: Name -> TcRhoType -> TcM (HsExpr TcId)

addExprErrCtxt :: LHsExpr Name -> TcM a -> TcM a