gets<S, C, L, R> function

StateReaderTaskEither<S, C, L, R> gets<S, C, L, R>(
  1. R f(
    1. S s
    )
)

Implementation

StateReaderTaskEither<S, C, L, R> gets<S, C, L, R>(R Function(S s) f) =>
    StateReaderTaskEither((s) => RTE.right(tuple2(f(s), s)));