Joint.firsts: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 119-125 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=119&end_line=125 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/ledger/render.bend as Rend # every dependency, each name once, at its first declaration def firsts(ds: List<&2, M.Dep>) -> List<&2, M.Dep>: match ds: case []: [] case +hd <> tl: hd <> Rend.without(firsts(tl), M.dep.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=Dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=dep.name https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/render.bend&name=without