TcSplice

ghc-7.0.4: The GHC API

TcSplice

# Documentation

kcSpliceType :: HsSplice Name -> FreeVars -> TcM (HsType Name, TcKind)

tcSpliceExpr :: HsSplice Name -> TcRhoType -> TcM (HsExpr TcId)

tcSpliceDecls :: LHsExpr Name -> TcM [LHsDecl RdrName]

tcBracket :: HsBracket Name -> TcRhoType -> TcM (LHsExpr TcId)

lookupThName_maybe :: Name -> TcM (Maybe Name)

runQuasiQuoteExpr :: HsQuasiQuote RdrName -> RnM (LHsExpr RdrName)

runQuasiQuotePat :: HsQuasiQuote RdrName -> RnM (LPat RdrName)

runQuasiQuoteDecl :: HsQuasiQuote RdrName -> RnM [LHsDecl RdrName]

runQuasiQuoteType :: HsQuasiQuote RdrName -> RnM (LHsType RdrName)

runAnnotation :: CoreAnnTarget -> LHsExpr Name -> TcM Annotation