zipRight<S, C, L, R1, R2> function

StateReaderTaskEither<S, C, L, R2> Function(StateReaderTaskEither<S, C, L, R1>) zipRight<S, C, L, R1, R2>(
  1. StateReaderTaskEither<S, C, L, R2> chain
)

Implementation

StateReaderTaskEither<S, C, L, R2> Function(
    StateReaderTaskEither<S, C, L, R1>) zipRight<S, C, L, R1, R2>(
  StateReaderTaskEither<S, C, L, R2> chain,
) =>
    (fa) => StateReaderTaskEither((s) => fa(s).chain(RTE.zipRight(chain(s))));