From e9e4588872aaab57dc199cb789768efb13edb997 Mon Sep 17 00:00:00 2001 From: Andreas Klebinger Date: Thu, 26 Mar 2020 04:11:47 -0400 Subject: Apply suggestion to libraries/base/Data/Bits.hs --- libraries/base/Data/Bits.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1