cqrs-types-0.9.0: Command-Query Responsibility Segregation. Modules for the basic types.
Eventable type class.
class Eventable a e | a -> e whereSource
Type class for applying events to aggregates.
applyEvent :: Maybe a -> e -> Maybe aSource
Apply an event to the aggregate and return the updated aggregate.
Produced by Haddock version 2.13.2