flatMapR<S, C, L, R1, R2> function
StateReaderTaskEither<S, C, L, R2> Function(StateReaderTaskEither<S, C, L, R1> )
flatMapR<S, C, L, R1, R2>(
- ReaderTaskEither<
C, L, R2> Function(S s) f(- R1 a
Implementation
StateReaderTaskEither<S, C, L, R2> Function(StateReaderTaskEither<S, C, L, R1>)
flatMapR<S, C, L, R1, R2>(
ReaderTaskEither<C, L, R2> Function(S s) Function(R1 a) f) =>
flatMap(
(a) => StateReaderTaskEither(
(s) => f(a)(s).chain(RTE.map((b) => tuple2(b, s))),
),
);