def nonzero
import emerging-ezjson@1.3.0.0/src/fixed.bend as Fixedimport Base
179# whether any digit is not 0
180def nonzero(txt: String) -> Bool:
181 match txt:
182 case SNil{}:
183 False{}
184 case SCon{hd, +tl}:
185 nonzero.at(Char.is_eq(hd, '0'), _u => nonzero(tl))