Num.big.small: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/num.bend as Num Lines 138-143 of yaml-for-bend@0.1.1.0/num.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/num.bend&start_line=138&end_line=143 import Base def big.small(s: String, acc: Nat) -> Nat: match s: case SNil{}: acc case SCon{c, t}: big.small(t, Nat.add(Nat.mul(acc, 10n), digit(c))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/num.bend&name=digit