Format.Format.pad_n.go: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/format.bend as Format Lines 59-66 of bend-time-lib@0.4.0.1/format.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/format.bend&start_line=59&end_line=66 import Base def Format.pad_n.go(k: Nat, +n: U32, acc: String) -> String: match k: case 0n: acc case 1n++p: Format.pad_n.go( p, U32.div(n, 10), SCon{Format.digit(U32.mod(n, 10)), acc} ) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/format.bend&name=Format.digit