projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-07-25 20:43:49 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
hsSyn
/
HsMatches.lhs
diff --git
a/ghc/compiler/hsSyn/HsMatches.lhs
b/ghc/compiler/hsSyn/HsMatches.lhs
index
5800e5e
..
059db6a
100644
(file)
--- a/
ghc/compiler/hsSyn/HsMatches.lhs
+++ b/
ghc/compiler/hsSyn/HsMatches.lhs
@@
-120,7
+120,8
@@
pprMatch sty is_case first_match
= ([], pprGRHSsAndBinds sty is_case grhss_n_binds)
ppr_match sty is_case (SimpleMatch expr)
- = ([], ppr sty expr)
+ = ([], ppHang (ppStr (if is_case then "->" else "="))
+ 4 (ppr sty expr))
----------------------------------------------------------