[commit: ghc] master: Typo in comment (3c28290)
git at git.haskell.org
git at git.haskell.org
Wed Sep 17 09:38:11 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3c2829017943522a946e7ae0560034c7d28d96ce/ghc
>---------------------------------------------------------------
commit 3c2829017943522a946e7ae0560034c7d28d96ce
Author: Gabor Greif <ggreif at gmail.com>
Date: Wed Sep 17 07:48:42 2014 +0200
Typo in comment
>---------------------------------------------------------------
3c2829017943522a946e7ae0560034c7d28d96ce
compiler/basicTypes/Name.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/basicTypes/Name.lhs b/compiler/basicTypes/Name.lhs
index 7651c7c..0647c60 100644
--- a/compiler/basicTypes/Name.lhs
+++ b/compiler/basicTypes/Name.lhs
@@ -363,7 +363,7 @@ stableNameCmp :: Name -> Name -> Ordering
stableNameCmp (Name { n_sort = s1, n_occ = occ1 })
(Name { n_sort = s2, n_occ = occ2 })
= (s1 `sort_cmp` s2) `thenCmp` (occ1 `compare` occ2)
- -- The ordinary compare on OccNames is lexicogrpahic
+ -- The ordinary compare on OccNames is lexicographic
where
-- Later constructors are bigger
sort_cmp (External m1) (External m2) = m1 `stableModuleCmp` m2
More information about the ghc-commits
mailing list