Use braces rather than angle-brackets in debug-printing for Bags
[ghc-hetmet.git] / compiler / utils / Bag.lhs
index e53d23d..b7e92a3 100644 (file)
@@ -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}