def W64.digits
import bendtorch-load@1.3.0.0/main.bend as BendtorchLoadimport Base
86def W64.digits(s: String, f: Nat) -> Bool:
87 match s f:
88 case SNil{} _: True{}
89 case SCon{c, t} 0n: False{}
90 case SCon{c, t} 1n+g: Bool.and(Char.is_digit(c), W64.digits(t, g))