get<S> function

State<S, S> get<S>()

Get the current state

Implementation

State<S, S> get<S>() => State((s) => tuple2(s, s));