projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df3bef
)
[project @ 1997-12-22 11:42:08 by simonm]
author
simonm
<unknown>
Mon, 22 Dec 1997 11:42:08 +0000
(11:42 +0000)
committer
simonm
<unknown>
Mon, 22 Dec 1997 11:42:08 +0000
(11:42 +0000)
print idinfo with a BigCoreBinder.
ghc/compiler/coreSyn/PprCore.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/coreSyn/PprCore.lhs
b/ghc/compiler/coreSyn/PprCore.lhs
index
d69b024
..
e822513
100644
(file)
--- a/
ghc/compiler/coreSyn/PprCore.lhs
+++ b/
ghc/compiler/coreSyn/PprCore.lhs
@@
-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]