def Int.read.go
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
398def Int.read.go(s: String, +n: Nat, +b: Word(n), +r: U32,
399 st: Maybe<&2, Word(n)>) -> Maybe<&2, Word(n)>:
400 match s:
401 case SNil{}:
402 st
403 case SCon{Chr{x}, t}:
404 Int.read.go(t, n, b, r, Int.read.step(n, b, r, st, x))