Event sourcing is a design pattern for persisting the state of an object by storing the sequence of events that have occurred on the object. Event sourcing fits the functional paradigm as the state is ...