DotFun
A DotStore mapping each Dot to a value V. Because a dot is minted once and never reused, a dot in both stores carries the same value, so the causal join needs no value-level conflict resolution — surviving dots simply keep their value. As Causal<DotFun<V>> this is a Multi-Value Register: concurrent writes each keep their (dot, value), surfacing the conflict rather than hiding it.
A value that grows after its dot is minted breaks that premise, and join then keeps whichever copy this holds. Use LatticeDotFun for such values: it joins the two.
Serialized by DotFunSerializer, which emits values entries sorted by Dot key so that two replicas at the same logical state produce identical bytes regardless of delivery order (issue #713).
Functions
The causal join with other. A dot is kept when it is live in both stores, or live in one and not yet witnessed by the other side's context; it is dropped only when one side still has it while the other has it in otherContext but not in its store — the signature of a deliberate remove. context is this store's surrounding causal history; otherContext is the other's.