-
-
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 instances derived from Hash[Long] (e.g. Hash[List[Long]]) do not pass laws #2878
Comments
I'm the author who wrote that law. The law The standard library's So to move forward I think that |
Makes sense to me 👍 |
@joroKr21 So for your work in |
This should be addressed by #4319 |
The failing law is
sameAsUniversalHash
:Took me a while to realize this while working on
Hash
derivation over atkittens
.To be honest I'm not sure what's the point of that law.
Why would
Hash
exist if it's bound to be the same ashashCode
?The text was updated successfully, but these errors were encountered: