def table.sects
import ezx@1.13.0.0/src/toml/toml.bend as Tomlimport Base
import emerging-eztoml@0.10.0.0/main.bend as E
288# a table's section, then the sections of the tables in it
289def table.sects(+segs: List<&2, String>, +sub: List<&2, E.Val>, inner: List<&2, Sect>) -> List<&2, Sect>:
290 List.append(&2, Sect, sect.keep(pairs.of(sub), has.table(sub), segs), inner)