Skip to content

lattice

Conflict-free replicated data types (CRDTs) for Gleam, with property-based tested merge semantics.

Convergence notebook

Local updates, deterministic merges, one shared value.

lattice gives each replica a CRDT state it can update independently. When replicas meet, merge uses the CRDT's lattice rule so every node converges without locks, consensus, or a conflict-resolution callback.

Choose the shape of your state.

Start from the data you need to replicate, then install the smallest package that carries that merge rule.