reader library

Classes

Reader<R, A>

Functions

ask<R>() Reader<R, R>
Projects a value from the global context in a Reader
asks<R, A>(A f(R r)) Reader<R, A>
flatMap<R, A, B>(Reader<R, B> f(A a)) Reader<R, B> Function(Reader<R, A>)
Composes computations in sequence, using the return value from the previous computation.
flatMapFirst<R, A>(Reader<R, dynamic> f(A a)) Reader<R, A> Function(Reader<R, A>)
Composes computations in sequence, using the return value from the previous computation, discarding the result.
flatten<R, A>(Reader<R, Reader<R, A>> f) Reader<R, A>
local<R1, R2, A>(R1 f(R2 r)) Reader<R2, A> Function(Reader<R1, A>)
map<R, A, B>(B f(A a)) Reader<R, B> Function(Reader<R, A>)
map transforms the previous computation result using the given function.
of<R, A>(A a) Reader<R, A>