diff options
author | Ian Lynagh <igloo@earth.li> | 2011-09-15 22:03:19 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-12 16:28:04 +0100 |
commit | 0a40540e79223f38ee851c66eb377db9a1756e4b (patch) | |
tree | fd0b3bd174e44cfeb48730b4bfa4a88c7d18fcfc /libraries/base/Data/Bits.hs | |
parent | 817c4e19a4248b80f0af764d12721b1284b39e5a (diff) | |
download | haskell-0a40540e79223f38ee851c66eb377db9a1756e4b.tar.gz |
Remove the Eq superclass of Num
Diffstat (limited to 'libraries/base/Data/Bits.hs')
-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 855436d36c..22a6e41a58 100644 --- a/libraries/base/Data/Bits.hs +++ b/libraries/base/Data/Bits.hs @@ -73,7 +73,7 @@ Minimal complete definition: '.&.', '.|.', 'xor', 'complement', ('shift' or ('shiftL' and 'shiftR')), ('rotate' or ('rotateL' and 'rotateR')), 'bitSize' and 'isSigned'. -} -class Num a => Bits a where +class (Eq a, Num a) => Bits a where -- | Bitwise \"and\" (.&.) :: a -> a -> a |