gets<A> method
State<S, A>
gets<A>(
- A f(
- S s
Implementation
State<S, A> gets<A>(A f(S s)) => new State((S s) => new Tuple2(f(s), s));
State<S, A> gets<A>(A f(S s)) => new State((S s) => new Tuple2(f(s), s));