flatMapTuple3<C, L, R, R2, R3> function

ReaderTaskEither<C, L, Tuple3<R, R2, R3>> Function(ReaderTaskEither<C, L, dynamic> fa) flatMapTuple3<C, L, R, R2, R3>(
  1. ReaderTaskEither<C, L, R3> f(
    1. dynamic a
    )
)

A variant of flatMap that appends the result to a tuple.

Implementation

ReaderTaskEither<C, L, Tuple3<R, R2, R3>> Function(
    ReaderTaskEither<C, L, Tuple2<R, R2>> fa) flatMapTuple3<C, L, R, R2, R3>(
  ReaderTaskEither<C, L, R3> Function(Tuple2<R, R2> a) f,
) =>
    flatMap((r) => f(r).p(map((r3) => tuple3(r.first, r.second, r3))));