This PR deprecates Hash since Kotlin, and Kotlin's Std doesn't take Hash into account for example for HashMap or HashSet nor does Kotlin have the power to automatically derive or inject Hash anywhere. This makes Hash very cumbersome to work with, see Tuple10Hash.kt
The use-cases of Hash seemed very limited and niche to us, so we've decided to exclude it from Arrow in 1.0.0. The common technique for this is to use data class, which automatically implements hashCode().
This PR deprecates
Hash
since Kotlin, and Kotlin's Std doesn't takeHash
into account for example forHashMap
orHashSet
nor does Kotlin have the power to automatically derive or injectHash
anywhere. This makesHash
very cumbersome to work with, seeTuple10Hash.kt
The use-cases of
Hash
seemed very limited and niche to us, so we've decided to exclude it from Arrow in 1.0.0. The common technique for this is to use data class, which automatically implementshashCode()
.