The state monad, the computation allows you to carry and modify the state S of it and returns the result A.
S
A
Generated using TypeDoc
The state monad, the computation allows you to carry and modify the state
Sof it and returns the resultA.