asks<R, E, A> function
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)));
Projects a value from the global context in a ReaderTaskEither.
ReaderTaskEither<R, E, A> asks<R, E, A>(A Function(R r) f) =>
ReaderTaskEither((r) => TE.right(f(r)));