diff options
author | Gabor Greif <ggreif@gmail.com> | 2016-10-31 12:08:50 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2016-10-31 12:28:53 +0100 |
commit | 80d4a03332e09064e5542924f2897d7eb573f19e (patch) | |
tree | 34f1dcee354d631d5e2786d33f0b1bf7058e6f77 /compiler/vectorise | |
parent | 7ddbdfd399a91eed410f3bd5a7caff2fd4bcce92 (diff) | |
download | haskell-80d4a03332e09064e5542924f2897d7eb573f19e.tar.gz |
Typos in comments
Diffstat (limited to 'compiler/vectorise')
-rw-r--r-- | compiler/vectorise/Vectorise/Monad/Naming.hs | 2 | ||||
-rw-r--r-- | compiler/vectorise/Vectorise/Type/Env.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/vectorise/Vectorise/Monad/Naming.hs b/compiler/vectorise/Vectorise/Monad/Naming.hs index 1cb8d87bcf..0b46416ddb 100644 --- a/compiler/vectorise/Vectorise/Monad/Naming.hs +++ b/compiler/vectorise/Vectorise/Monad/Naming.hs @@ -35,7 +35,7 @@ import Control.Monad -- |Create a localised variant of a name, using the provided function to transform its `OccName`. -- --- If the name external, encode the orignal name's module into the new 'OccName'. The result is +-- If the name external, encode the original name's module into the new 'OccName'. The result is -- always an internal system name. -- mkLocalisedName :: (Maybe String -> OccName -> OccName) -> Name -> VM Name diff --git a/compiler/vectorise/Vectorise/Type/Env.hs b/compiler/vectorise/Vectorise/Type/Env.hs index 421b1dde9a..d70de485fe 100644 --- a/compiler/vectorise/Vectorise/Type/Env.hs +++ b/compiler/vectorise/Vectorise/Type/Env.hs @@ -330,7 +330,7 @@ vectTypeEnv tycons vectTypeDecls vectClassDecls } -- Add a mapping from the original to vectorised type constructor to the vectorisation map. - -- Unless the type constructor is abstract, also mappings from the orignal's data constructors + -- Unless the type constructor is abstract, also mappings from the original's data constructors -- to the vectorised type's data constructors. -- -- We have three cases: (1) original and vectorised type constructor are the same, (2) the |