Renamed to nicklawls/step. That is where the repository lives now. It has not been published as a package under the new name.
Versions published as xilnocas/step still install under that name. 11 versions of 15 come from the new location (see their notes).
Some stuff
step to a state with no commands
asUpdateFunction
a little helper function for the common case: turn an update function that returns a Step to a normal elm architecture update function
uses run internally to default with the provided model in case of a noop
starting from an initial state, fold an update function over a list of messages
Step
a
Step state msg outputdescribes one step of a state machine.On each step, the state machine can either
noop, staying in the same state and executing no commandstosome newstate, potentially executingmsg-returning commandsexit, and return a value of typeoutput