summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2021-02-05 09:03:21 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-06 09:30:34 -0500
commit3da472f0e78fe5f1068be0cc2b1c0762532da9f9 (patch)
treed88a147c49aa25fff13866de9b87c712213fbd3f /compiler/Language
parent9b7dcd80f16efda57e4e51e39d61b55a11c72014 (diff)
downloadhaskell-3da472f0e78fe5f1068be0cc2b1c0762532da9f9.tar.gz
Fix typos
Diffstat (limited to 'compiler/Language')
-rw-r--r--compiler/Language/Haskell/Syntax/Decls.hs2
-rw-r--r--compiler/Language/Haskell/Syntax/Expr.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Language/Haskell/Syntax/Decls.hs b/compiler/Language/Haskell/Syntax/Decls.hs
index ff65d085c7..453b963028 100644
--- a/compiler/Language/Haskell/Syntax/Decls.hs
+++ b/compiler/Language/Haskell/Syntax/Decls.hs
@@ -950,7 +950,7 @@ type LDerivClauseTys pass = XRec pass (DerivClauseTys pass)
-- | The types mentioned in a single @deriving@ clause. This can come in two
-- forms, 'DctSingle' or 'DctMulti', depending on whether the types are
-- surrounded by enclosing parentheses or not. These parentheses are
--- semantically differnt than 'HsParTy'. For example, @deriving ()@ means
+-- semantically different than 'HsParTy'. For example, @deriving ()@ means
-- \"derive zero classes\" rather than \"derive an instance of the 0-tuple\".
--
-- 'DerivClauseTys' use 'LHsSigType' because @deriving@ clauses can mention
diff --git a/compiler/Language/Haskell/Syntax/Expr.hs b/compiler/Language/Haskell/Syntax/Expr.hs
index 72c16fe22a..0e54adb8f4 100644
--- a/compiler/Language/Haskell/Syntax/Expr.hs
+++ b/compiler/Language/Haskell/Syntax/Expr.hs
@@ -1267,7 +1267,7 @@ data ParStmtBlock idL idR
-- | The fail operator
--
--- This is used for `.. <-` "bind statments" in do notation, including
+-- This is used for `.. <-` "bind statements" in do notation, including
-- non-monadic "binds" in applicative.
--
-- The fail operator is 'Just expr' if it potentially fail monadically. if the