summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2016-08-14 13:03:23 +0200
committerGabor Greif <ggreif@gmail.com>2016-08-14 13:03:23 +0200
commit7ad3b49161587f937facd1852742cc3fbaf1ffce (patch)
tree4e63047e87a98a25537343cf596a19e798df5196
parent37a7bcbcbd9f68167c9c03fbd415e62919739d2d (diff)
downloadhaskell-7ad3b49161587f937facd1852742cc3fbaf1ffce.tar.gz
Misspellings in comments [skip ci]
-rw-r--r--compiler/coreSyn/CoreLint.hs2
-rw-r--r--compiler/typecheck/TcEvidence.hs4
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs
index dead929943..97005222f2 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -1287,7 +1287,7 @@ lintCoercion :: OutCoercion -> LintM (LintedKind, LintedKind, LintedType, Linted
-- Check the kind of a coercion term, returning the kind
-- Post-condition: the returned OutTypes are lint-free
--
--- If lintCorecion co = (k1, k2, s1, s2, r)
+-- If lintCoercion co = (k1, k2, s1, s2, r)
-- then co :: s1 ~r s2
-- s1 :: k2
-- s2 :: k2
diff --git a/compiler/typecheck/TcEvidence.hs b/compiler/typecheck/TcEvidence.hs
index 71f5bb7b91..aaa1f0c5cd 100644
--- a/compiler/typecheck/TcEvidence.hs
+++ b/compiler/typecheck/TcEvidence.hs
@@ -80,8 +80,8 @@ kosher free variables.
-}
type TcCoercion = Coercion
-type TcCoercionN = CoercionN -- A Nominal corecion ~N
-type TcCoercionR = CoercionR -- A Representational corecion ~R
+type TcCoercionN = CoercionN -- A Nominal coercion ~N
+type TcCoercionR = CoercionR -- A Representational coercion ~R
type TcCoercionP = CoercionP -- a phantom coercion
mkTcReflCo :: Role -> TcType -> TcCoercion