News for hackers. Stuff that matters.
Re:EventStore: Open-Source, Functional Database with Complex... by codebje on Sunday November 04, 2018 @08:37PM (#18379171)
If actions are fully deterministic, a list of actions is isomorphic to a list of events: you can always determine what happened by looking at what was requested.

A list of all past states avoids the determinism problem, but the consequence of each action is only implicit in the difference between two states.

For event sourcing, "the state" is the list of events, and what you're calling "the state" is just another selector/projection.

Re:EventStore: Open-Source, Functional Database with Complex... by tobr on Monday November 05, 2018 @03:32AM (#18380754)
No, I’m suggesting that your state should be a list of event/action objects. By using a linked list, every new state can have a reference back to the previous state. This is not a projection, but a way to immutably append new actions to a list. This list is the state that you’d pass to selectors.