You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala.util.hashing.Hashing[A] presupposes universal equality using == -- a == b implies hash(a) == hash(b). cats.kernel.Hash[A]'s underlying eqv is based upon cats.kernel.Eq which is customizable -- eqv(a, b) implies hash(a) == hash(b).
One cannot convert a cats.kernel.Hash[A] to scala.util.hashing.Hashing[A] without compromising the typeclass instance's semantics. @kailuowang#2116
The text was updated successfully, but these errors were encountered:
scala.util.hashing.Hashing[A]
presupposes universal equality using==
--a == b
implieshash(a) == hash(b)
.cats.kernel.Hash[A]
's underlyingeqv
is based uponcats.kernel.Eq
which is customizable --eqv(a, b)
implieshash(a) == hash(b)
.One cannot convert a
cats.kernel.Hash[A]
toscala.util.hashing.Hashing[A]
without compromising the typeclass instance's semantics.@kailuowang #2116
The text was updated successfully, but these errors were encountered: