summaryrefslogtreecommitdiff
path: root/compiler/GHC/Utils
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2020-10-28 17:51:42 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-29 22:08:13 -0400
commit7f8be3eb3440a152246a1aef7b4020be4c03cf2e (patch)
treeec538f8dc51202d032fd1089220c02ba0cb34f9e /compiler/GHC/Utils
parent2ef2fac4c412a25fa64f79b759d69d22a4ebc784 (diff)
downloadhaskell-7f8be3eb3440a152246a1aef7b4020be4c03cf2e.tar.gz
Remove unnecessary gender from comments/docs
While, say, alternating "he" and "she" in sequential writing may be nicer than always using "they", reading code/documentation is almost never sequential. If this small change makes individuals feel more welcome in GHC's codebase, that's a good thing.
Diffstat (limited to 'compiler/GHC/Utils')
-rw-r--r--compiler/GHC/Utils/Outputable.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Utils/Outputable.hs b/compiler/GHC/Utils/Outputable.hs
index 489c20cd75..16e66ce6d1 100644
--- a/compiler/GHC/Utils/Outputable.hs
+++ b/compiler/GHC/Utils/Outputable.hs
@@ -1287,8 +1287,8 @@ speakNth n = hcat [ int n, text suffix ]
-- > speakN 5 = text "five"
-- > speakN 10 = text "10"
speakN :: Int -> SDoc
-speakN 0 = text "none" -- E.g. "he has none"
-speakN 1 = text "one" -- E.g. "he has one"
+speakN 0 = text "none" -- E.g. "they have none"
+speakN 1 = text "one" -- E.g. "they have one"
speakN 2 = text "two"
speakN 3 = text "three"
speakN 4 = text "four"