This PR deprecates Eq since Kotlin, and Kotlin's Std doesn't take Eq into account nor does Kotlin have the power to automatically derive or inject Eq anywhere. This makes Eq very cumbersome to work with, see Tuple10Eq.kt
The use-cases of Eq 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 equals().
This PR deprecates
Eq
since Kotlin, and Kotlin's Std doesn't takeEq
into account nor does Kotlin have the power to automatically derive or injectEq
anywhere. This makesEq
very cumbersome to work with, seeTuple10Eq.kt
The use-cases of
Eq
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 implementsequals()
.