Commit 750a25f4 authored by Gabor Greif's avatar Gabor Greif 💬
Browse files

A few typos [ci skip]

parent d39a3409
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -189,8 +189,8 @@ mapAccumL f s (b:bs) = (c:cs,s'')
-- Now some utilties involving arrays.
-- Here is a version of @elem@ that uses partual application
-- Now some utilities involving arrays.
-- Here is a version of @elem@ that uses partial application
-- to optimise lookup.
arrElem :: (Ix a) => [a] -> a -> Bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment