pure<B> method

State<S, B> pure<B>(
  1. B b
)

Implementation

State<S, B> pure<B>(B b) => new State((s) => new Tuple2(b, s));