From 0a40540e79223f38ee851c66eb377db9a1756e4b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 15 Sep 2011 22:03:19 +0100 Subject: Remove the Eq superclass of Num --- libraries/base/Data/Bits.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/base/Data/Bits.hs') 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 -- cgit v1.2.1