def arc.flag
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
237def arc.flag(+s: String) -> U.Number:
238 match s:
239 case SNil{}: U.Number{0.0, "", False{}}
240 case SCon{Chr{c}, t}: U.Number{U.choose(F32, U32.is_eq(c, 49), 1.0, 0.0), t, U32.is_eq(c, 48) || U32.is_eq(c, 49)}