asks<S, C, L, R> function
Projects a value from the global context in a StateReaderTaskEither.
Implementation
StateReaderTaskEither<S, C, L, R> asks<S, C, L, R>(R Function(C c) f) =>
StateReaderTaskEither(
(s) => ReaderTaskEither((c) => TE.right(tuple2(f(c), s))));