-
-
Save tjaskula/5ac45317abcadac35d9432469255e988 to your computer and use it in GitHub Desktop.
Event Sourcing as 3 functions.
This file contains hidden or 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