It's not really stateful just a bunch of chained functions where any arbitrary state you seed into it is passed in args and returned back but it does not work with the world state. It's entirely stateless and immutable returning a new
State
value on each function such as
map
flatMap
etc.