summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2015-07-07 15:52:57 +0200
committerGabor Greif <ggreif@gmail.com>2015-07-07 15:52:57 +0200
commit62fcf0515112b918152dd8bf053f84d9ec0d1501 (patch)
treecf0b67f71561a8fb7868e0dac39afe1dd948b1e3
parent37de4ad76b75d403e6a8dae9539af08c859d46a4 (diff)
downloadhaskell-62fcf0515112b918152dd8bf053f84d9ec0d1501.tar.gz
Fix word repetitions in comments
-rw-r--r--compiler/parser/Lexer.x2
-rw-r--r--compiler/typecheck/TcDeriv.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 01e7de3efd..a9293da401 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -2704,7 +2704,7 @@ We add the following warning suppression flags to all code generated by Alex:
Without these flags, current versions of Alex will generate code that is not
warning free. Note that this is the result of Alex' internals, not of the way
-we have have written our (Lexer).x files.
+we have written our (Lexer).x files.
As always, we need code to be warning free when validating with -Werror.
diff --git a/compiler/typecheck/TcDeriv.hs b/compiler/typecheck/TcDeriv.hs
index 9045e39bbc..7e5e75ccb4 100644
--- a/compiler/typecheck/TcDeriv.hs
+++ b/compiler/typecheck/TcDeriv.hs
@@ -1147,7 +1147,7 @@ The DeriveAnyClass extension adds a third way to derive instances, based on
empty instance declarations.
The canonical use case is in combination with GHC.Generics and default method
-signatures. These allow us have have instance declarations be empty, but still
+signatures. These allow us to have instance declarations being empty, but still
useful, e.g.
data T a = ...blah..blah... deriving( Generic )