def pairs.of
import ezx@1.11.0.0/src/ws/workspace.bend as Workspaceimport Base
import ezx@1.11.0.0/src/toml/toml.bend as T
526# the pairs of the section with this name, or none
527def pairs.of(ss: List<&2, T.Sect>, +name: String) -> List<&2, T.Kv>:
528 match ss:
529 case []:
530 []
531 case hd <> tl:
532 pairs.at(hd, pairs.of(tl, name), name)