Joint.agree.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 203-211 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=203&end_line=211 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # whether every dependency of a list is the first declaration of its name in # the whole list def agree.go(ds: List<&2, M.Dep>, +all: List<&2, M.Dep>) -> Bool: match ds: case []: True{} case +hd <> tl: rest = agree.go(tl, all) Bool.and(dep.eq(hd, M.find(all, M.dep.name(hd))), rest) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and 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/manifest.bend&name=find https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=dep.eq