projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use braces rather than angle-brackets in debug-printing for Bags
[ghc-hetmet.git]
/
compiler
/
utils
/
Bag.lhs
diff --git
a/compiler/utils/Bag.lhs
b/compiler/utils/Bag.lhs
index
e53d23d
..
b7e92a3
100644
(file)
--- a/
compiler/utils/Bag.lhs
+++ b/
compiler/utils/Bag.lhs
@@
-178,5
+178,5
@@
bagToList b = foldrBag (:) [] b
\begin{code}
instance (Outputable a) => Outputable (Bag a) where
- ppr bag = char '<' <> pprWithCommas ppr (bagToList bag) <> char '>'
+ ppr bag = braces (pprWithCommas ppr (bagToList bag))
\end{code}