Comments only
authorsimonpj@microsoft.com <unknown>
Tue, 25 Jan 2011 13:11:15 +0000 (13:11 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 25 Jan 2011 13:11:15 +0000 (13:11 +0000)
compiler/hsSyn/HsExpr.lhs

index 56fc9a7..5f1f776 100644 (file)
@@ -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]