def numbers.go
import gralha-text-scan@0.1.0.1/scan.bend as Scanimport Base
222# Every number read takes at least one character (a digit), so the text's
223# length bounds how many there are.
224def numbers.go(fuel: Nat, s: String) -> List<&2, F32>:
225 match fuel:
226 case 0n: Nil{}
227 case 1n+f: numbers.next(number(s), t => numbers.go(f, t))