summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2014-09-17 07:48:42 +0200
committerGabor Greif <ggreif@gmail.com>2014-09-17 11:30:53 +0200
commit3c2829017943522a946e7ae0560034c7d28d96ce (patch)
tree6f9095f76abde789d55683252d8ca3c34db537f1
parent74f0e1515b1031eb116aad2b74ee8dece8bfc4c0 (diff)
downloadhaskell-3c2829017943522a946e7ae0560034c7d28d96ce.tar.gz
Typo in comment
-rw-r--r--compiler/basicTypes/Name.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/basicTypes/Name.lhs b/compiler/basicTypes/Name.lhs
index 7651c7c749..0647c60c7a 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