MathCheckedWord.multiply_bits: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_checked_word.bend as MathCheckedWord Lines 20-23 of stelliferous@0.0.2.0/math_checked_word.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_checked_word.bend&start_line=20&end_line=23 import Base def multiply_bits(width: Nat,bits: Word(width),+right: Nat,+limit: Nat) -> Maybe<&2,Nat>: match width bits: case 0n WNil{}: Some{0n} case 1n+rest WCon{bit,tail}: multiply_step(bit,right,multiply_bits(rest,tail,right,limit),limit) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_checked_word.bend&name=multiply_step