Fixed.le_digits: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixed Lines 215-221 of bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend&start_line=215&end_line=221 import Base import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C # the k lowest base-256 digits of n, least significant first def le_digits(k: Nat, +n: Nat) -> List<&2, Nat>: match k: case 0n: Nil{} case 1n+p: Con{C.low(8n, n), le_digits(p, C.high(8n, n))} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/lib/common.bend&name=high https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/lib/common.bend&name=low