asks<R, E, A> function

ReaderTaskEither<R, E, A> asks<R, E, A>(
  1. A f(
    1. R r
    )
)

Projects a value from the global context in a ReaderTaskEither.

Implementation

ReaderTaskEither<R, E, A> asks<R, E, A>(A Function(R r) f) =>
    ReaderTaskEither((r) => TE.right(f(r)));