fromTaskEither<S, C, L, R> function
Returns a StateReaderTaskEither that resolves to the given TaskEither.
Implementation
StateReaderTaskEither<S, C, L, R> fromTaskEither<S, C, L, R>(
TaskEither<L, R> taskEither,
) =>
StateReaderTaskEither(
(s) => RTE.fromTaskEither(taskEither.chain(TE.map((a) => tuple2(a, s)))),
);