Num.big.read: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/num.bend as Num Lines 66-72 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=66&end_line=72 import Base # The digits of +s+ in +base+ (each a digit of that base) as a big number. def big.read(s: String, +base: Nat, acc: List<&2, Nat>) -> List<&2, Nat>: match s: case SNil{}: acc case SCon{c, t}: big.read(t, base, big.mul.add(acc, base, digit(c))) Uses (5): 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=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/num.bend&name=big.mul.add https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/num.bend&name=digit