reader_io library
Support for doing something awesome.
More dartdocs go here.
Functions
-
apFirst<
ENV, B> (ReaderIO< ENV, B> rio1) → ReaderIO<ENV, A> Function<A>(ReaderIO< ENV, A> ) -
apSecond<
ENV, B> (ReaderIO< ENV, B> rio1) → ReaderIO<ENV, B> Function<A>(ReaderIO< ENV, A> ) -
ask<
ENV> () → ReaderIO< ENV, ENV> -
asks<
ENV1, ENV2> (ENV2 f(ENV1)) → ReaderIO< ENV1, ENV2> -
bracket<
ENV, A, B> ({required ReaderIO< ENV, void> release(A), required ReaderIO<ENV, B> use(A)}) → ReaderIO<ENV, B> Function(ReaderIO<ENV, A> ) -
flatMap<
ENV, A, B> (ReaderIO< ENV, B> f(A)) → ReaderIO<ENV, B> Function(ReaderIO<ENV, A> ) -
flatMapIO<
A, B> (IO< B> f(A)) → ReaderIO<ENV, B> Function<ENV>(ReaderIO< ENV, A> ) -
local<
ENV1, ENV2> (ENV1 f(ENV2)) → ReaderIO< ENV2, A> Function<A>(ReaderIO< ENV1, A> ) -
make<
ENV> () → ReaderIO< ENV, void> -
map<
A, B> (B f(A)) → ReaderIO< ENV, B> Function<ENV>(ReaderIO< ENV, A> ) -
sequenceArray<
ENV, A> (Iterable< ReaderIO< arr) → ReaderIO<ENV, A> >ENV, Iterable< A> >