map<A, B> function

ReaderIO<ENV, B> Function<ENV>(ReaderIO<ENV, A> ) map<A, B>(
  1. B f(
    1. A
    )
)

Implementation

ReaderIO<ENV, B> Function<ENV>(ReaderIO<ENV, A>) map<A, B>(
  B Function(A) f,
) =>
    <ENV>(rio) => (env) {
          final io = rio(env);
          return () => f(io());
        };