def u32
import bend-kit-camber@0.15.0.1/input.bend as Inputimport Base
28# Nonempty ASCII decimal only; arithmetic happens only after the overflow guard.
29def u32(text: String) -> Maybe<&2, U32>:
30 match text:
31 case SNil{}: None{}
32 case SCon{c, rest}: decimal.go(SCon{c, rest}, 0)