map<B> method

  1. @override
StateT<F, S, B> map<B>(
  1. B f(
    1. A a
    )
)
override

Implementation

@override StateT<F, S, B> map<B>(B f(A a)) => new StateT(_FM, (S s) => _FM.map(_run(s), (Tuple2<A, B> t) => t.map1(f)));