linear-base icon indicating copy to clipboard operation
linear-base copied to clipboard

bitwise-and BitwiseAnd for Int and Word

Open yaitskov opened this issue 2 years ago • 2 comments

yaitskov avatar May 21 '22 06:05 yaitskov

Hello,

Thanks for your PR. Can you elaborate on your design? Why create a BitwiseAnd class, in particular?

aspiwack avatar May 23 '22 09:05 aspiwack

Thanks for your PR. Can you elaborate on your design? Why create a BitwiseAnd class, in particular?

I was trying to mimic linear-base approach on tackling Num class i.e. a class per method. Data.Bits class is pretty populated with methods too. I haven't defined Bits in PR just because not sure about getting review responses so saved on initial efforts ;).

I don't have strong opinion about particular class name and open to alternatives.

yaitskov avatar May 25 '22 03:05 yaitskov