Crdt.GCounter.pad: def of bend-kit-crdt@0.2.0.0 Import: import bend-kit-crdt@0.2.0.0/crdt.bend as Crdt Lines 45-51 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=45&end_line=51 import Base # Zeros for replicas 0 to i - 1, then 1 for replica i. def GCounter.pad(i: Nat) -> List<&2, U32>: match i: case 0n: [1] case 1n+p: Con{0, GCounter.pad(p)} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32