blob: 8a9c7818a1b49bf265f662ad0c8f38f879e0cc9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
module RnExpr where
import Name
import GHC.Hs
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)
|