From 9aad47f1162666431deee99884c523b1ff69cf98 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 23 Oct 2009 16:16:31 +0000 Subject: [PATCH] Use braces rather than angle-brackets in debug-printing for Bags --- compiler/utils/Bag.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/utils/Bag.lhs b/compiler/utils/Bag.lhs index e53d23d..b7e92a3 100644 --- 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} -- 1.7.10.4