-
-
Save joeyguerra/e81bfd03471aca250b3a02d0b44e92eb to your computer and use it in GitHub Desktop.
Event Sourcing as 3 functions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f(events) -> state | |
match f(state, event) -> state | |
f(state, command) -> events |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment