Crdt.KCounter.heads: def of bend-kit-crdt@0.2.0.0 Import: import bend-kit-crdt@0.2.0.0/crdt.bend as Crdt Lines 216-222 of bend-kit-crdt@0.2.0.0/crdt.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&start_line=216&end_line=222 import Base # The comparison of the first IDs of a and b, or EQ when either is empty. def KCounter.heads(~K: Data, ~cmp: K -> K -> Cmp, a: KCounter, b: KCounter) -> Cmp: match a: case KNil{}: EQ{} case KCon{x, c, r}: KCounter.head(~K, ~cmp, x, b) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&name=KCounter https://jend.leeeet.dev/definition.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&name=KCounter.head