Closed johnynek closed 8 years ago
:+1:
Also note that if we had a type BoolRing
, it could implement negate
(to be negate(x) = x
) and then the instance returned from Bool#asCommutativeRing
would not have to override negate
.
Let's open an issue about possibly adding BoolRing
, and I will submit a PR to fix this bug. (I also want to ensure that we have a test that detects this issue.)
Sounds good, I will open the issue.
Addresses the issue in #89