reader_task library

Classes

ReaderTask<R, A>

Functions

ask<R>() ReaderTask<R, R>
Projects a value from the global context in a ReaderTask.
asks<R, A>(Reader<R, A> f) ReaderTask<R, A>
Projects a value from the global context in a ReaderTask.
flatMap<R, A, B>(ReaderTask<R, B> f(A a)) ReaderTask<R, B> Function(ReaderTask<R, A>)
flatMap transforms the previous computation result using the given function.
flatMapReader<R, A, B>(Reader<R, B> f(A a)) ReaderTask<R, B> Function(ReaderTask<R, A>)
flatMapTask<R, A, B>(Task<B> f(A a)) ReaderTask<R, B> Function(ReaderTask<R, A>)
fromReader<R, A>(Reader<R, A> f) ReaderTask<R, A>
fromTask<R, A>(Task<A> task) ReaderTask<R, A>
map<R, A, B>(B f(A a)) ReaderTask<R, B> Function(ReaderTask<R, A>)
map transforms the previous computation result using the given function.
tap<R, A>(void f(A a)) ReaderTask<R, A> Function(ReaderTask<R, A>)
tap transforms the previous computation result using the given function.
zipRight<R, A, B>(ReaderTask<R, B> task) ReaderTask<R, B> Function(ReaderTask<R, A> task)