def W64.digits

bendtorch-load@1.3.0.0 · main.bend:86

import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad
import 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))

Uses (5)

Used by (1)