TcSplice

ghc-7.6.3: The GHC API

Safe Haskell | None

TcSplice

# Documentation

tcSpliceType :: HsSplice Name -> FreeVars -> TcM (TcType, 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