evaluate<S> function
Run a computation in the State
monad, discarding the final state
Implementation
A Function<A>(State<S, A> s) evaluate<S>(S s) => <A>(fa) => fa(s).first;
Run a computation in the State
monad, discarding the final state
A Function<A>(State<S, A> s) evaluate<S>(S s) => <A>(fa) => fa(s).first;