fromEither<C, L, R> function

ReaderTaskEither<C, L, R> fromEither<C, L, R>(
  1. Either<L, R> either
)

Returns a ReaderTaskEither that resolves to the given Either.

Implementation

ReaderTaskEither<C, L, R> fromEither<C, L, R>(Either<L, R> either) =>
    ReaderTaskEither((r) => TE.fromEither(either));