4 import SrcLoc ( Located )
5 import Outputable ( SDoc, OutputableBndr )
6 import {-# SOURCE #-} HsPat ( LPat )
15 instance Typeable1 HsSplice
16 instance Data i => Data (HsSplice i)
17 instance Typeable1 HsExpr
18 instance Data i => Data (HsExpr i)
19 instance Typeable1 MatchGroup
20 instance Data i => Data (MatchGroup i)
21 instance Typeable1 GRHSs
22 instance Data i => Data (GRHSs i)
24 type LHsExpr a = Located (HsExpr a)
25 type SyntaxExpr a = HsExpr a
27 pprLExpr :: (OutputableBndr i) =>
30 pprExpr :: (OutputableBndr i) =>
33 pprSplice :: (OutputableBndr i) =>
36 pprPatBind :: (OutputableBndr b, OutputableBndr i) =>
37 LPat b -> GRHSs i -> SDoc
39 pprFunBind :: (OutputableBndr idL, OutputableBndr idR) =>
40 idL -> Bool -> MatchGroup idR -> SDoc