Psst—requesting comments on an idea I’ve been exploring: “A composable pattern for pure state machines with effects”
Conversation
You've basically encoded of generic functions `(inout State, Event) -> Command?` into a protocol. Elm's foldp is related.
2
Replying to
Yeah! This pattern (tx simple values, actuate commands externally) is unfamiliar in imperative contexts; need concrete scaffolds.
The challenge as always is to make the idea feel idiomatic in its host language rather than to smush in an alien beast like foldp :)
1

