Better pretty printing for CoPat
[ghc-hetmet.git] / compiler / hsSyn / HsBinds.lhs
index 900b800..adf234d 100644 (file)
@@ -323,6 +323,7 @@ data ExprCoFn
 instance Outputable ExprCoFn where 
   ppr co_fn = pprCoFn (ptext SLIT("<>")) co_fn
 
+pprCoFn :: SDoc -> ExprCoFn -> SDoc
 pprCoFn it CoHole = it
 pprCoFn it (CoCompose f1 f2) = pprCoFn (pprCoFn it f2) f1
 pprCoFn it (ExprCoFn co)     = it <+> ptext SLIT("`cast`") <+> pprParendType co