def next.of
import gralha-xml-doc@0.1.0.1/xml.bend as Xmlimport Base
137def next.of(attrs: List<&2, Attr>, tail: String) -> Next:
138 match tail:
139 case SNil{}: Next{4, 0, attrs, ""}
140 case SCon{Chr{c}, t}:
141 +cc = c
142 Next{attr.kind(cc), cc, attrs, t}