Reduce / fold from #FP is incredible…
Given some initial state, and a new event / command / action / update, get the next state.
Understand that, and you might never want to throw out the events / commands / actions / updates again!
Reduce / fold from #FP is incredible…
Given some initial state, and a new event / command / action / update, get the next state.
Understand that, and you might never want to throw out the events / commands / actions / updates again!