map<A, B> function

Reader<R, B> Function<R>(Reader<R, A> ) map<A, B>(
  1. B f(
    1. A
    )
)

Implementation

Reader<R, B> Function<R>(Reader<R, A>) map<A, B>(
  B Function(A) f,
) =>
    <R>(ra) => (r) => f(ra(r));