fromReaderTask<C, L, R> function

ReaderTaskEither<C, L, R> fromReaderTask<C, L, R>(
  1. ReaderTask<C, R> f
)

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

Implementation

ReaderTaskEither<C, L, R> fromReaderTask<C, L, R>(ReaderTask<C, R> f) =>
    ReaderTaskEither(f.call.compose(TE.fromTask));