fromReader<S, C, L, R> function
Transforms a Reader into a StateReaderTaskEither, wrapping the result in an Right.
Implementation
StateReaderTaskEither<S, C, L, R> fromReader<S, C, L, R>(Reader<C, R> f) =>
StateReaderTaskEither(
(s) => RTE.fromReader(f.chain(Rd.map((r) => tuple2(r, s)))));