[commit: ghc] master: Typos in comments [ci skip] (ff9355e)
git at git.haskell.org
git at git.haskell.org
Thu Jan 26 11:03:11 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/ff9355e48d0cb04b3adf26e27e12e128f79618f4/ghc
>---------------------------------------------------------------
commit ff9355e48d0cb04b3adf26e27e12e128f79618f4
Author: Gabor Greif <ggreif at gmail.com>
Date: Thu Jan 26 11:59:56 2017 +0100
Typos in comments [ci skip]
>---------------------------------------------------------------
ff9355e48d0cb04b3adf26e27e12e128f79618f4
compiler/backpack/NameShape.hs | 2 +-
compiler/coreSyn/CoreSyn.hs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/backpack/NameShape.hs b/compiler/backpack/NameShape.hs
index 0804d71..9817854 100644
--- a/compiler/backpack/NameShape.hs
+++ b/compiler/backpack/NameShape.hs
@@ -159,7 +159,7 @@ ns_module = mkHoleModule . ns_mod_name
-- | Substitution on @{A.T}@. We enforce the invariant that the
-- 'nameModule' of keys of this map have 'moduleUnitId' @hole@
-- (meaning that if we have a hole substitution, the keys of the map
--- are never affected.) Alternately, this is ismorphic to
+-- are never affected.) Alternately, this is isomorphic to
-- @Map ('ModuleName', 'OccName') 'Name'@.
type ShNameSubst = NameEnv Name
diff --git a/compiler/coreSyn/CoreSyn.hs b/compiler/coreSyn/CoreSyn.hs
index 6f692e0..0bf15f5 100644
--- a/compiler/coreSyn/CoreSyn.hs
+++ b/compiler/coreSyn/CoreSyn.hs
@@ -271,7 +271,7 @@ data Expr b
| App (Expr b) (Arg b)
| Lam b (Expr b)
| Let (Bind b) (Expr b)
- | Case (Expr b) b Type [Alt b] -- See #case_invariant#
+ | Case (Expr b) b Type [Alt b] -- See #case_invariants#
| Cast (Expr b) Coercion
| Tick (Tickish Id) (Expr b)
| Type Type
More information about the ghc-commits
mailing list