U32Comparison.digit: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/u32_comparison.bend as U32Comparison Lines 3-8 of stelliferous@0.0.2.0/proofs/u32_comparison.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/u32_comparison.bend&start_line=3&end_line=8 import Base def digit(bit: Bool,n: Nat) -> Nat: match bit: case False{}: Nat.double(n) case True{}: 1n+Nat.double(n) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.double