
27 Feb
2014
27 Feb
'14
1:30 a.m.
I'm +1 for the following slightly extended proposal: * add zeroBits * with default implementation: clearBit (bit 0) 0 * and requiring the following laws for all n valid for the type: * clearBit zeroBits n == zeroBits * setBit zeroBits n == bit n * testBit zeroBits n == False * popCount zeroBits == 0 -- Live well, ~wren