[project @ 1997-12-22 11:42:08 by simonm]
authorsimonm <unknown>
Mon, 22 Dec 1997 11:42:08 +0000 (11:42 +0000)
committersimonm <unknown>
Mon, 22 Dec 1997 11:42:08 +0000 (11:42 +0000)
print idinfo with a BigCoreBinder.

ghc/compiler/coreSyn/PprCore.lhs

index d69b024..e822513 100644 (file)
@@ -423,7 +423,11 @@ Other printing bits-and-bobs used with the general @pprCoreBinding@
 and @pprCoreExpr@ functions.
 
 \begin{code}
-pprBigCoreBinder sty binder = pprTypedCoreBinder sty binder
+pprBigCoreBinder sty binder 
+  = vcat [pragmas,
+         pprTypedCoreBinder sty binder] 
+  where
+    pragmas = ppIdInfo sty False{-no specs, thanks-} (getIdInfo binder)
 
 pprBabyCoreBinder sty binder
   = hsep [ppr sty binder, pp_strictness]