def pairs_of

ezx@1.11.0.0 · src/ledger/manifest.bend:68

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T

68# the pairs of the section with this name, or none
69def pairs_of(ss: List<&2, T.Sect>, +name: String) -> List<&2, T.Kv>:
70  match ss:
71    case []:
72      []
73    case h <> t:
74      pairs.at(h, pairs_of(t, name), name)

Uses (5)

Used by (3)