map3<C, D, E> method

  1. @override
TaskEither<L, E> map3<C, D, E>(
  1. covariant TaskEither<L, C> m1,
  2. covariant TaskEither<L, D> m2,
  3. E f(
    1. R b,
    2. C c,
    3. D d
    )
)
override

Change the return type of this TaskEither based on its value of type R, the value of type C of a second TaskEither, and the value of type D of a third TaskEither.

Implementation

@override
TaskEither<L, E> map3<C, D, E>(covariant TaskEither<L, C> m1,
        covariant TaskEither<L, D> m2, E Function(R b, C c, D d) f) =>
    flatMap((b) => m1.flatMap((c) => m2.map((d) => f(b, c, d))));