From 47b53f7aa91d79eb538e14d4ccbf0ef9f25b7938 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Thu, 24 Aug 2006 14:05:04 +0000 Subject: [PATCH] document minimal complete definition for Bits --- Data/Bits.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Data/Bits.hs b/Data/Bits.hs index d33f7ee..ded147a 100644 --- a/Data/Bits.hs +++ b/Data/Bits.hs @@ -66,6 +66,10 @@ The 'Bits' class defines bitwise operations over integral types. * Bits are numbered from 0 with bit 0 being the least significant bit. + +Minimal complete definition: '.&.', '.|.', 'xor', 'complement', +('shift' or ('shiftL' and 'shiftR')), ('rotate' or ('rotateL' and 'rotateR')), +'bitSize' and 'isSigned'. -} class Num a => Bits a where -- | Bitwise \"and\" -- 1.7.10.4