diff options
author | Richard Eisenberg <rae@richarde.dev> | 2020-10-28 17:51:42 -0400 |
---|---|---|
committer | Richard Eisenberg <rae@richarde.dev> | 2020-10-28 17:51:42 -0400 |
commit | b0fbfd3100ca36abcb1c854dea92722fc45f5328 (patch) | |
tree | 6532da06fe8b329c64f48c8c0fe1c9e419ca3d0f /compiler/GHC/Core/Utils.hs | |
parent | 28f98b01d055c8027f9495b1669bf875b3e42168 (diff) | |
download | haskell-wip/neuter.tar.gz |
Remove unnecessary gender from comments/docswip/neuter
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/Core/Utils.hs')
-rw-r--r-- | compiler/GHC/Core/Utils.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Utils.hs b/compiler/GHC/Core/Utils.hs index 076d5213d9..e980c560e0 100644 --- a/compiler/GHC/Core/Utils.hs +++ b/compiler/GHC/Core/Utils.hs @@ -1511,7 +1511,7 @@ Note [Expandable overloadings] Suppose the user wrote this {-# RULE forall x. foo (negate x) = h x #-} f x = ....(foo (negate x)).... -He'd expect the rule to fire. But since negate is overloaded, we might +They'd expect the rule to fire. But since negate is overloaded, we might get this: f = \d -> let n = negate d in \x -> ...foo (n x)... So we treat the application of a function (negate in this case) to a @@ -2621,4 +2621,3 @@ isUnsafeEqualityProof e = idName v == unsafeEqualityProofName | otherwise = False - |