Plan.lays: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/plan.bend as Plan Lines 852-866 of ezx@1.11.0.0/src/lock/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/plan.bend&start_line=852&end_line=866 import Base import ezx@1.11.0.0/src/lock/world.bend as W import ezx@1.11.0.0/src/lock/lock.bend as L # every cloned tree that passed its checks, laid ahead of what follows. `vs` # are the hashes committed under `.ez/lib`; a plain lock has none, and lays # every tree in the cache. def lays( +cs: List<&2, String>, +vs: List<&2, String>, js: List<&2, W.Judged>, rest: List<&2, Effect> ) -> List<&2, Effect>: match js: case []: rest case W.Judged{+h, v} <> t: lay.pick(L.seen.holds(cs, h), v, place.of(L.seen.holds(vs, h)), h, lays(cs, vs, t, rest)) Uses (7): 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=ezx@1.11.0.0/src/lock/lock.bend&name=seen.holds https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Effect https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=lay.pick https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=place.of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Judged