This PR deprecates Show since Kotlin, and Kotlin's Std doesn't take Show into account nor does Kotlin have the power to automatically derive or inject Show anywhere. This makes Show very cumbersome to work with, see Tuple10Show.kt.
The use-cases of Show 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 toString() and correctly implementing toString().
This PR deprecates
Show
since Kotlin, and Kotlin's Std doesn't takeShow
into account nor does Kotlin have the power to automatically derive or injectShow
anywhere. This makesShow
very cumbersome to work with, see Tuple10Show.kt.The use-cases of
Show
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 usedata class
, which automatically implementstoString()
and correctly implementingtoString()
.