Plan.holds: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/plan.bend as Plan Lines 503-509 of ezx@1.11.0.0/src/add/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/plan.bend&start_line=503&end_line=509 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # whether a dependency names this hash def holds(ds: List<&2, M.Dep>, +hash: String) -> Bool: match ds: case []: False{} case +h <> t: any.step(String.eq(M.dep.hash(h), hash), _u => holds(t, hash)) 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/plan.bend&name=any.step 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.hash