def all_digits
import cswap-bend-cli@0.1.0.0/clock.bend as Clockimport Base
76def all_digits(s: String) -> Bool:
77 match s:
78 case SNil{}:
79 True{}
80 case SCon{c, t}:
81 Char.is_digit(c) && all_digits(t)
import cswap-bend-cli@0.1.0.0/clock.bend as Clockimport Base
76def all_digits(s: String) -> Bool:
77 match s:
78 case SNil{}:
79 True{}
80 case SCon{c, t}:
81 Char.is_digit(c) && all_digits(t)