fromEither<S, C, L, R> function
Returns a StateReaderTaskEither that resolves to the given Either.
Implementation
StateReaderTaskEither<S, C, L, R> fromEither<S, C, L, R>(Either<L, R> either) =>
either.chain(Ei.fold(left, right));