Remove the (very) old strictness analyser
[ghc-hetmet.git] / compiler / utils / Bag.lhs
index e53d23d..481dedf 100644 (file)
@@ -22,6 +22,9 @@ import Outputable
 import Util ( isSingleton )
 
 import Data.List ( partition )
+
+infixr 3 `consBag`
+infixl 3 `snocBag`
 \end{code}
 
 
@@ -178,5 +181,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}