blob: b325eeb6f027fc66b2be5c6330357d7f15e88326 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
module RnExpr where
import Name
import HsSyn
import NameSet ( FreeVars )
import TcRnTypes
import SrcLoc ( Located )
import Outputable ( Outputable )
rnLExpr :: LHsExpr GhcPs
-> RnM (LHsExpr GhcRn, FreeVars)
rnStmts :: --forall thing body.
Outputable (body GhcPs) => HsStmtContext Name
-> (Located (body GhcPs) -> RnM (Located (body GhcRn), FreeVars))
-> [LStmt GhcPs (Located (body GhcPs))]
-> ([Name] -> RnM (thing, FreeVars))
-> RnM (([LStmt GhcRn (Located (body GhcRn))], thing), FreeVars)
|