[project @ 2002-06-05 14:07:47 by simonpj]
authorsimonpj <unknown>
Wed, 5 Jun 2002 14:07:47 +0000 (14:07 +0000)
committersimonpj <unknown>
Wed, 5 Jun 2002 14:07:47 +0000 (14:07 +0000)
Add comment

ghc/compiler/hsSyn/HsPat.lhs

index 97be698..10e22b8 100644 (file)
@@ -133,6 +133,8 @@ data OutPat id
                                                -- the desugarer can readily identify
                                                -- equations with identical literal-patterns
                                                -- Always HsInteger, HsRat or HsString.
+                                               -- *Unlike* NPatIn, for negative literals, the
+                                               --      literal is acutally negative!
                    Type                        -- Type of pattern, t
                    (HsExpr id (OutPat id))     -- Of type t -> Bool; detects match