projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-06-20 00:33:36 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
Pretty.lhs
diff --git
a/ghc/compiler/utils/Pretty.lhs
b/ghc/compiler/utils/Pretty.lhs
index
c8aef7d
..
54abced
100644
(file)
--- a/
ghc/compiler/utils/Pretty.lhs
+++ b/
ghc/compiler/utils/Pretty.lhs
@@
-418,7
+418,7
@@
hcat = foldr (<>) empty
hsep = foldr (<+>) empty
vcat = foldr ($$) empty
-hang d1 n d2 = d1 $$ (nest n d2)
+hang d1 n d2 = sep [d1, nest n d2]
punctuate p [] = []
punctuate p (d:ds) = go d ds