fromReader<C, L, R> function

ReaderTaskEither<C, L, R> fromReader<C, L, R>(
  1. Reader<C, R> f
)

Transforms a Reader into a ReaderTaskEither, wrapping the result in an Right.

Implementation

ReaderTaskEither<C, L, R> fromReader<C, L, R>(Reader<C, R> f) =>
    ReaderTaskEither((r) => TE.right(f(r)));