Scan.half: def of bend-parallel@0.1.0.0 Import: import bend-parallel@0.1.0.0/scan.bend as Scan Lines 165-175 of bend-parallel@0.1.0.0/scan.bend: https://jend.leeeet.dev/read.txt?path=bend-parallel@0.1.0.0/scan.bend&start_line=165&end_line=175 import Base # floor(d / 2). def half(+d: Nat) -> Nat: match d: case 0n: 0n case 1n+p: match p: case 0n: 0n case 1n+q: 1n+half(q) Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat