map<R, A, B> function
map transforms the previous computation result using the given function.
Implementation
ReaderTask<R, B> Function(ReaderTask<R, A>) map<R, A, B>(
B Function(A a) f,
) =>
(fa) => ReaderTask(fa.call.compose(T.map(f)));