summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-06-02 11:02:13 +0200
committerGabor Greif <ggreif@gmail.com>2017-06-02 11:07:10 +0200
commit750a25f47b626e6495cc6f951eca071429744767 (patch)
tree458e3698921ee1acdde30b16ed621080d34e8884 /compiler
parentd39a3409acd3c40fb018ec1c114f15d3ecef6ef9 (diff)
downloadhaskell-750a25f47b626e6495cc6f951eca071429744767.tar.gz
A few typos [ci skip]
Diffstat (limited to 'compiler')
-rw-r--r--compiler/prelude/TysWiredIn.hs2
-rw-r--r--compiler/rename/RnTypes.hs2
-rw-r--r--compiler/typecheck/TcRnTypes.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/prelude/TysWiredIn.hs b/compiler/prelude/TysWiredIn.hs
index b6835648a5..71ff0e18c6 100644
--- a/compiler/prelude/TysWiredIn.hs
+++ b/compiler/prelude/TysWiredIn.hs
@@ -1080,7 +1080,7 @@ runtimeRepTy = mkTyConTy runtimeRepTyCon
liftedTypeKindTyCon, starKindTyCon, unicodeStarKindTyCon :: TyCon
--- Type syononyms; see Note [TYPE and RuntimeRep] in TysPrim
+-- Type synonyms; see Note [TYPE and RuntimeRep] in TysPrim
-- type Type = tYPE 'LiftedRep
-- type * = tYPE 'LiftedRep
-- type * = tYPE 'LiftedRep -- Unicode variant
diff --git a/compiler/rename/RnTypes.hs b/compiler/rename/RnTypes.hs
index 492862bc33..7571684754 100644
--- a/compiler/rename/RnTypes.hs
+++ b/compiler/rename/RnTypes.hs
@@ -721,7 +721,7 @@ checkWildCard _ Nothing
= return ()
checkAnonWildCard :: RnTyKiEnv -> HsWildCardInfo RdrName -> RnM ()
--- Report an error if an anonymoous wildcard is illegal here
+-- Report an error if an anonymous wildcard is illegal here
checkAnonWildCard env wc
= checkWildCard env mb_bad
where
diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs
index e018d5d7b6..651e73581c 100644
--- a/compiler/typecheck/TcRnTypes.hs
+++ b/compiler/typecheck/TcRnTypes.hs
@@ -879,7 +879,7 @@ type TcIdSet = IdSet
type TcIdBinderStack = [TcIdBinder]
-- This is a stack of locally-bound ids, innermost on top
- -- Used ony in error reporting (relevantBindings in TcError)
+ -- Used only in error reporting (relevantBindings in TcError)
-- We can't use the tcl_env type environment, because it doesn't
-- keep track of the nesting order