fromState<S, C, L, R> function
Returns a StateReaderTaskEither that resolves to the given Either.
Implementation
StateReaderTaskEither<S, C, L, R> fromState<S, C, L, R>(State<S, R> f) =>
StateReaderTaskEither((s) => RTE.right(f(s)));