Functional event sourcing, implementation with javaslang. Simple aggregate created with the help of: Try Functions Pattern Match Left Fold Based on the work of Greg Young.