Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
9182cbf4
Commit
9182cbf4
authored
Mar 11, 2004
by
simonpj
Browse files
[project @ 2004-03-11 14:29:29 by simonpj]
Better layout in interppSP
parent
56edf70a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/utils/Outputable.lhs
View file @
9182cbf4
...
@@ -414,10 +414,10 @@ pprWithCommas :: (a -> SDoc) -> [a] -> SDoc
...
@@ -414,10 +414,10 @@ pprWithCommas :: (a -> SDoc) -> [a] -> SDoc
pprWithCommas pp xs = fsep (punctuate comma (map pp xs))
pprWithCommas pp xs = fsep (punctuate comma (map pp xs))
interppSP :: Outputable a => [a] -> SDoc
interppSP :: Outputable a => [a] -> SDoc
interppSP xs =
h
sep (map ppr xs)
interppSP xs = sep (map ppr xs)
interpp'SP :: Outputable a => [a] -> SDoc
interpp'SP :: Outputable a => [a] -> SDoc
interpp'SP xs =
h
sep (punctuate comma (map ppr xs))
interpp'SP xs = sep (punctuate comma (map ppr xs))
pprQuotedList :: Outputable a => [a] -> SDoc
pprQuotedList :: Outputable a => [a] -> SDoc
-- [x,y,z] ==> `x', `y', `z'
-- [x,y,z] ==> `x', `y', `z'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment