ghc-9.4.1: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Rename.Expr

Synopsis

Documentation

rnStmts Source #

Arguments

:: AnnoBody body 
=> HsStmtContext GhcRn 
-> (body GhcPs -> RnM (body GhcRn, FreeVars))

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

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

Statements

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

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

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

Rename some Stmts