Real-World Event Sourcing - incomplete/extra function clause (page 9)