diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-03-26 04:11:47 -0400 |
---|---|---|
committer | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-03-26 04:11:47 -0400 |
commit | e9e4588872aaab57dc199cb789768efb13edb997 (patch) | |
tree | d97ab348881e043efc54af61e06491aa061000e5 | |
parent | 0fcb2a0adcdf0140170f050af2d3e865bd4e8fe6 (diff) | |
download | haskell-wip/andreask/bits_docs.tar.gz |
Apply suggestion to libraries/base/Data/Bits.hswip/andreask/bits_docs
-rw-r--r-- | libraries/base/Data/Bits.hs | 2 |
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. |