typealias State<S, A> =
<S, ForId, A>
State<S, A> is a stateful computation that yields a value of type
S - the state we are performing computation upon.
A - current value of computation.
fun <S, A> State(run: (S) -> Tuple2<S, A>):
Constructor for State.
Alias for StateId to make working with
StateT<S, ForId, A> more elegant.
Do you like Arrow?✖