def render.sect

ezx@1.11.0.0 · src/toml/toml.bend:179

import ezx@1.11.0.0/src/toml/toml.bend as Toml
import Base

179# one table: its header, then its pairs. The header is written as it is given,
180# so a caller that needs a quoted segment quotes it.
181def render.sect(sect: Sect) -> String:
182  Sect{nn, ps} = sect
183  "[" ++ nn ++ "]\n" ++ render.pairs(ps)

Uses (4)

Used by (2)