simon.vergauwen
09/03/2019, 1:47 PMApplicative enables combining elements using map for any number of arguments 🙂kioba
09/03/2019, 2:08 PMfun <E, A, E2, B, C> Either<E, A>.zipWith(other: Either<E2, B>, f: (A, B) -> C): C = Either.applicative().map(this, other, f)kioba
09/03/2019, 2:09 PMsimon.vergauwen
09/03/2019, 2:11 PMApplicative map, Concurrent parMapN, etc into the companion object.
This’ll enable Either.map(..., .., ..) { } just like it would enable the same for all F and it’ll be available in the same way in a polymorphic context.simon.vergauwen
09/03/2019, 2:12 PMCompanion. This’ll improve discoverability and it’ll reduce stress on IDEA>kioba
09/03/2019, 2:34 PMsimon.vergauwen
09/03/2019, 2:37 PM