Size.capacity: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/size.bend as Size Lines 4-9 of bendtorch-core@0.1.0.0/src/storage/size.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/size.bend&start_line=4&end_line=9 import Base def capacity(d: Nat) -> U32: match d: case 0n: 1 case 1n+p: U32.shl(capacity(p)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shl