`0.13` doesn't appear to have a `Tuple3`. Tuples...
# arrow
j
0.13
doesn't appear to have a
Tuple3
. Tuples start at
Tuple4
. Is this correct?
t
Yes. I was quite surprised there is no typealias for Pair/Triple. I'd be interested in rationale behind this.
👍 1
j
Ah, right. Because Kotlin has a Triple. I forgot about that.
s
Yes, it was deprecated towards
Pair
&
Triple
. We didn't feel a strong need to add a
typealias
for it but if there is popular demand for it we could add it for
1.0.0
. You can consider
0.13.0
the last step before
1.0.0
so all feedback is extremely welcomed!
Our rationale for removing
Tuple2
and
Tuple3
was to move closer to Kotlin Std. So no duplicated APIs between Arrow and Kotlin Std, and if certain signatures appear in Kotlin Std give them the same names (or name patterns) in Arrow.
🙏 1
t
rationale behind removing Tuple2/3 is quite clear. It just feels, dunno, inconsistent 😀 to have special names for the first two arities. Not sure how others feel about this, but I think it's simple enough to add the aliases myself.