def xml.name
import gralha-xml-doc@0.1.0.1/xml.bend as Xmlimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
96def xml.name(s: String, acc: String) -> U.Scan:
97 match s:
98 case SNil{}: U.Scan{U.rev(acc, ""), ""}
99 case SCon{Chr{c}, t}:
100 +cc = c
101 name.go(name.stop(cc), cc, t, acc)