State<S, A> constructor

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

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

Implementation

const State(this._run);