def pairs.of

ezx@1.11.0.0 · src/ws/workspace.bend:526

import ezx@1.11.0.0/src/ws/workspace.bend as Workspace
import 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)

Uses (5)

Used by (2)