Manifest.tools.put: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest Lines 192-199 of ezx@1.11.0.0/src/ledger/manifest.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&start_line=192&end_line=199 import Base import ezx@1.11.0.0/src/toml/toml.bend as T # a section joins the tools only when it is a `[tools.]` def tools.put(is_tool: Bool, sect: T.Sect, rest: List<&2, Tool>) -> List<&2, Tool>: match is_tool: case True{}: T.Sect{n, ps} = sect tool_of(n, ps) <> rest case False{}: rest Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Tool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=tool_of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=Sect