-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetPartialOrder[A] uses the universal ==
instead of Eq
#1710
Comments
Would it have surprising effects when |
@kailuowang OK I get it. For the instances for |
yeah, I think if you use |
@johnynek You are right. The equality on them must be the universal one. Thanks! |
https://github.com/typelevel/cats/blob/master/kernel/src/main/scala/cats/kernel/instances/set.scala#L22
This instance should require an implicit
Eq[A]
and use this instance for containment partial order / set equivalence.The text was updated successfully, but these errors were encountered: