Documentation

Eventium is a typed, composable event-sourcing and CQRS library for Haskell. Instead of storing the current state of something, you store the sequence of events that happened to it, and derive state by replaying them. That constraint forces clarity — and Eventium gives you small, well-typed pieces to build on:

Everything is a plain value, not a typeclass, so it composes by function application rather than instance resolution.

Start here

  1. Getting Started — install Eventium and build a runnable counter.
  2. Event Sourcing & CQRS — the mental model the rest of the docs build on.

Core concepts

Learn by example

The examples section walks through three complete apps, from a 100-line counter to a full CQRS banking system.

Reference

Once published, the API documentation will live on Hackage. The source is on GitHub.