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:
7a59afc
)
Better pretty-printing for TvSubst
author
simonpj@microsoft.com
<unknown>
Fri, 18 Aug 2006 16:05:51 +0000
(16:05 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 18 Aug 2006 16:05:51 +0000
(16:05 +0000)
compiler/types/Type.lhs
patch
|
blob
|
history
diff --git
a/compiler/types/Type.lhs
b/compiler/types/Type.lhs
index
872feb0
..
fdcec30
100644
(file)
--- a/
compiler/types/Type.lhs
+++ b/
compiler/types/Type.lhs
@@
-1135,9
+1135,9
@@
zip_ty_env tvs tys env = pprTrace "Var/Type length mismatch: " (ppr
instance Outputable TvSubst where
ppr (TvSubst ins env)
- = sep[ ptext SLIT("<TvSubst"),
- nest 2 (ptext SLIT("In scope:") <+> ppr ins),
- nest 2 (ptext SLIT("Env:") <+> ppr env) ]
+ = brackets $ sep[ ptext SLIT("TvSubst"),
+ nest 2 (ptext SLIT("In scope:") <+> ppr ins),
+ nest 2 (ptext SLIT("Env:") <+> ppr env) ]
\end{code}
%************************************************************************