Change

class Change<V : DotStore<V>>(val store: V, val retired: Set<Dot> = emptySet())

What a mutator changed under one key: the fragment it stores, and the held dots it retired. Written dots that were already held are re-carried (for a payload that grows, as in LatticeDotFun); held dots neither written nor retired are left as they are.

The paper writes a payload bump as ({d ↦ v′}, {d}). Here that is Change(store = {d ↦ v′}) with nothing retired: apply adds d to the context because it is written, and naming it in retired as well is rejected, since a retired dot is one the change takes away.

Constructors

Link copied to clipboard
constructor(store: V, retired: Set<Dot> = emptySet())

Properties

Link copied to clipboard
Link copied to clipboard
val store: V