Joint.tools.firsts: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 143-149 of ezx@1.11.0.0/src/ws/joint.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/joint.bend&start_line=143&end_line=149 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # every tool, each name once, at its first declaration def tools.firsts(ts: List<&2, M.Tool>) -> List<&2, M.Tool>: match ts: case []: [] case +hd <> tl: hd <> tools.without(tools.firsts(tl), M.tool.name(hd)) Uses (4): 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.name https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=tools.without