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:
d056dfe
)
Comments only
author
simonpj@microsoft.com
<unknown>
Tue, 25 Jan 2011 13:11:15 +0000
(13:11 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 25 Jan 2011 13:11:15 +0000
(13:11 +0000)
compiler/hsSyn/HsExpr.lhs
patch
|
blob
|
history
diff --git
a/compiler/hsSyn/HsExpr.lhs
b/compiler/hsSyn/HsExpr.lhs
index
56fc9a7
..
5f1f776
100644
(file)
--- a/
compiler/hsSyn/HsExpr.lhs
+++ b/
compiler/hsSyn/HsExpr.lhs
@@
-1161,7
+1161,8
@@
data HsMatchContext id -- Context of a Match
| LambdaExpr -- Patterns of a lambda
| CaseAlt -- Patterns and guards on a case alternative
| ProcExpr -- Patterns of a proc
- | PatBindRhs -- Patterns in the *guards* of a pattern binding
+ | PatBindRhs -- A pattern binding, or its guards
+ -- [x] = e, or x | [y] <- e = e
| RecUpd -- Record update [used only in DsExpr to
-- tell matchWrapper what sort of
-- runtime error message to generate]