def segments
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport Base
119# a header's segments, unquoted. `packages."0x0a".files` is three of them, and a
120# quoted segment may hold the dots a bare one may not.
121def segments(head: String) -> List<&2, String>:
122 seg.fin(seg.walk(String.to_list(head), Split{False{}, [], []}))