-
-
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
Hash[Map[K, V]] has unnecessary constraint #3039
Comments
I'll create PR if nobody minds. |
@vasiliybondarenko Sounds good to me, although the problem is that I don't think it's possible to fix it without breaking bincompat, which means the PR will be have to be parked for a long time. |
as soon as #3051 gets merged we can fix this right without breaking BC: deprecate the current one and remove the |
@kailuowang Oh, I guess that's right—the erasure will be different so the names won't collide. |
@kailuowang could you take a look at my PR? |
I'm the author of that function.
See the implementation here: https://github.com/typelevel/cats/blob/master/kernel/src/main/scala/cats/kernel/instances/MapInstances.scala#L33 |
@ctongfei that's right. But we still don't need |
@vasiliybondarenko That is right. Scala's |
Similar to #3038. Now we have:
But the
K: Hash
isn't used in the implementation.The text was updated successfully, but these errors were encountered: