summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-03-26 04:11:47 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-29 17:32:04 -0400
commitc916f190b455d9c43459f81c7ee06d06ab3db957 (patch)
treee76f8450b3808fda7513745be11175859ce90a34
parent6c8f80d8876965539571d37d3c7f0fee43c300d2 (diff)
downloadhaskell-c916f190b455d9c43459f81c7ee06d06ab3db957.tar.gz
Apply suggestion to libraries/base/Data/Bits.hs
-rw-r--r--libraries/base/Data/Bits.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Bits.hs b/libraries/base/Data/Bits.hs
index 6379f208a8..7c50ced028 100644
--- a/libraries/base/Data/Bits.hs
+++ b/libraries/base/Data/Bits.hs
@@ -168,7 +168,7 @@ class Eq a => Bits a where
-- | @x \`complementBit\` i@ is the same as @x \`xor\` bit i@
complementBit :: a -> Int -> a
- {-| @x \`testBit\` i@ is the same as @x .&. bit n == 1@
+ {-| @x \`testBit\` i@ is the same as @x .&. bit n /= 0@
In other words it returns True if the bit at offset @n
is set.