Definition and support for Schism's Convergent vector type. The convergent vector is a timestamped log of entries with a vector clock & insertion index. Convergence places entries into the resultant vector in insertion order, with insertions occurring by replaying insertions operations in order. The vector clock conveys that an item has been removed from the vector on another node.
Definition and support for Schism's Convergent vector type. The convergent vector is a timestamped log of entries with a vector clock & insertion index. Convergence places entries into the resultant vector in insertion order, with insertions occurring by replaying insertions operations in order. The vector clock conveys that an item has been removed from the vector on another node.
(assoc-n-with-tail-support a n v)
Assoc with support to place v
at the tail of a
when n
is -1.
Assoc with support to place `v` at the tail of `a` when `n` is -1.
The value to use when sorting insertions by index, and the recorded index was -1, indicating the element was inserted at the tail.
The value to use when sorting insertions by index, and the recorded index was -1, indicating the element was inserted at the tail.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close