diff options
Diffstat (limited to 'compiler/hsSyn/HsExpr.lhs-boot')
-rw-r--r-- | compiler/hsSyn/HsExpr.lhs-boot | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/compiler/hsSyn/HsExpr.lhs-boot b/compiler/hsSyn/HsExpr.lhs-boot new file mode 100644 index 0000000000..503701bf66 --- /dev/null +++ b/compiler/hsSyn/HsExpr.lhs-boot @@ -0,0 +1,27 @@ +\begin{code} +module HsExpr where + +import SrcLoc ( Located ) +import Outputable ( SDoc, OutputableBndr ) +import {-# SOURCE #-} HsPat ( LPat ) + +data HsExpr i +data HsSplice i +data MatchGroup a +data GRHSs a + +type LHsExpr a = Located (HsExpr a) +type SyntaxExpr a = HsExpr a + +pprExpr :: (OutputableBndr i) => + HsExpr i -> SDoc + +pprSplice :: (OutputableBndr i) => + HsSplice i -> SDoc + +pprPatBind :: (OutputableBndr b, OutputableBndr i) => + LPat b -> GRHSs i -> SDoc + +pprFunBind :: (OutputableBndr i) => + i -> MatchGroup i -> SDoc +\end{code} |