A pure Elm implementation of statecharts designed to hook direct;y into The Elm Architecture update function.
Decode a stored StateModel.
Encode the StateModel into a value ready to be stored in the main model.
Make the top level statechart
Make a compound state from a StateConfig
Make a state from a StateConfig
The identity action that does nothing
An empty StateModel; this is the initial value in the model.
Start the statechart based on the StateModel.
Step through the statechart in response to an incoming message.