Open denisrosset opened 6 years ago
After discussion with @non:
Eq
and Hash
instances.===
and =!=
methods as those are special. Adding methods for other operators is fine. For that, revisit @rklaehn work.Eq
typeclass calls a method on the type, call the method internal_eq
or something similar.It appears the only remaining tracked issue here is the ===
and =!=
strategy.
Let's group here a bunch of stuff:
294 Support Eq in tests in a shouldEqv matcher (let's have a look)
601 BaseSyntaxTest uses .equals
599 No hashCode for Number
619 Remove === and =!= methods (PR)
423 Add === method for all data types (!)
405 Drop cooperative eq. or test it?
444 Add cooperative equality tests
508 More principled approach to equality
611 Quaternion and Complex use cooperative equality