map<B> method

Evaluation<E, R, W, S, B> map<B>(
  1. B f(
    1. A a
    )
)
override

Implementation

Evaluation<E, R, W, S, B> map<B>(B f(A a)) =>
    new Evaluation(_W, (r, s) =>
        run(r, s).then((leftOrRight) =>
            leftOrRight.map((t) => new Tuple3(t.value1, t.value2, f(t.value3)))));