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:
56edf70
)
[project @ 2004-03-11 14:29:29 by simonpj]
author
simonpj
<unknown>
Thu, 11 Mar 2004 14:29:29 +0000
(14:29 +0000)
committer
simonpj
<unknown>
Thu, 11 Mar 2004 14:29:29 +0000
(14:29 +0000)
Better layout in interppSP
ghc/compiler/utils/Outputable.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/Outputable.lhs
b/ghc/compiler/utils/Outputable.lhs
index
339a3bc
..
76c91d4
100644
(file)
--- a/
ghc/compiler/utils/Outputable.lhs
+++ b/
ghc/compiler/utils/Outputable.lhs
@@
-414,10
+414,10
@@
pprWithCommas :: (a -> SDoc) -> [a] -> SDoc
pprWithCommas pp xs = fsep (punctuate comma (map pp xs))
interppSP :: Outputable a => [a] -> SDoc
-interppSP xs = hsep (map ppr xs)
+interppSP xs = sep (map ppr xs)
interpp'SP :: Outputable a => [a] -> SDoc
-interpp'SP xs = hsep (punctuate comma (map ppr xs))
+interpp'SP xs = sep (punctuate comma (map ppr xs))
pprQuotedList :: Outputable a => [a] -> SDoc
-- [x,y,z] ==> `x', `y', `z'