U32.U32Nat.odd: def of bend-osdev-u32@0.1.0.0 Import: import bend-osdev-u32@0.1.0.0/u32.bend as U32 Lines 44-54 of bend-osdev-u32@0.1.0.0/u32.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-u32@0.1.0.0/u32.bend&start_line=44&end_line=54 import Base # x mod 2: 1 for an odd x, 0 for an even one def U32Nat.odd(n: Nat) -> Nat: match n: case 0n: 0n case 1n+p: match p: case 0n: 1n case 1n+q: U32Nat.odd(q) Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat