Model.offset: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/model.bend as Model Lines 28-34 of bendtorch-core@0.1.0.0/src/storage/model.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&start_line=28&end_line=34 import Base def offset(d: Nat, path: Path(d)) -> Nat: match d: case 0n: 0n case 1n++p: Step{b, rest} = path offset_step(b, capacity(p), offset(p, rest)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Path https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Step https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=capacity https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=offset_step