Hacker News new | ask | show | jobs
by roxolotl 439 days ago
Each step calculates the next state and returns it. You can then compose those state calculators. If you need to save the state that’s IO and you have a bit specifically for it.