Hacker News new | ask | show | jobs
by gdprrrr 977 days ago
Not OP, but in functional languages, state machines are often simply a function (State, Input) -> State