flatMapS<S, C, L, R> function
StateReaderTaskEither<S, C, L, Unit> Function(StateReaderTaskEither<S, C, L, R> )
flatMapS<S, C, L, R>(
- ReaderTaskEither<
C, L, S> Function(S s) f(- R a
Implementation
StateReaderTaskEither<S, C, L, Unit> Function(
StateReaderTaskEither<S, C, L, R>,
) flatMapS<S, C, L, R>(
ReaderTaskEither<C, L, S> Function(S s) Function(R a) f,
) =>
flatMap(
(a) => StateReaderTaskEither(
f(a).compose(RTE.map((s) => tuple2(U.unit, s)))),
);