ghc-lib-0.1.0: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

RnExpr

Synopsis

Documentation

rnLExpr :: LHsExpr GhcPs -> RnM (LHsExpr GhcRn, FreeVars) Source #

rnExpr :: HsExpr GhcPs -> RnM (HsExpr GhcRn, FreeVars) Source #

rnStmts Source #

Arguments

:: Outputable (body GhcPs)
-> (Located (body GhcPs) -> RnM (Located (body GhcRn), FreeVars))

How to rename the body of each statement (e.g. rnLExpr)

-> [LStmt GhcPs (Located (body GhcPs))]

Statements

-> ([Name] -> RnM (thing, FreeVars))

if these statements scope over something, this renames it and returns the result.

-> RnM (([LStmt GhcRn (Located (body GhcRn))], thing), FreeVars)

Rename some Stmts

AltStyle によって変換されたページ (->オリジナル) /