ask<S, C, L> function

StateReaderTaskEither<S, C, L, C> ask<S, C, L>()

Projects a value from the global context in a StateReaderTaskEither.

Implementation

StateReaderTaskEither<S, C, L, C> ask<S, C, L>() => StateReaderTaskEither(
    (s) => ReaderTaskEither((c) => TE.right(tuple2(c, s))));