State<S, A> constructor

const State<S, A>(
  1. Tuple2<A, S> _run(
    1. S state
    )
)

Build a new State given a Tuple2<A, S> Function(S).

Implementation

const State(this._run);