mitch
08/31/2021, 12:08 PMeitherA.zip(eitherB, ::fn)
Is an alternate syntax like below also planned to be supported?
Either.zip(eitherA, eitherB, ::fn)
for instance, in reactor you have both Mono.zip(monoA, monoB, ::fn)
and mono.zip(other, ::fn)
simon.vergauwen
08/31/2021, 12:11 PMmono.zip
(see Collections API).
I personally do like Mono.zip
but it’s seems to be an uncommon pattern so far in Kotlin.simon.vergauwen
08/31/2021, 12:12 PMsimon.vergauwen
08/31/2021, 12:14 PMMono.zip
but in a more lightweight way.
The biggest concern we currently have is that the API footprint will become too large. Which is something that Kotlin does quite differently to what we’re used to from Project Reactor or RxJava (which aims to be more all-utils-included).mitch
08/31/2021, 12:15 PMsimon.vergauwen
08/31/2021, 12:15 PMsimon.vergauwen
08/31/2021, 12:16 PMmitch
08/31/2021, 12:18 PMmitch
08/31/2021, 12:19 PMmitch
08/31/2021, 12:20 PMsimon.vergauwen
08/31/2021, 12:26 PMdiscussed internally.There is not really any “internally” 😄 Everything is discussed public-ally. Feel free to also open a discussion on the Arrow repo on the “discussions” page 😉 That way it’s not an “issue” but still a more open discussions where everyone can participate.
simon.vergauwen
08/31/2021, 12:28 PM