def names.lay
import ezx@1.11.0.0/src/fetch/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/plan.bend as P
616# every names file a fetch writes, ahead of what follows
617def names.lay(ms: List<&2, Nm>, rest: List<&2, P.Effect>) -> List<&2, P.Effect>:
618 match ms:
619 case []:
620 rest
621 case m <> t:
622 match m:
623 case NmPut{nv, hash, was}:
624 name.put(nv, hash, was, names.lay(t, rest))
625 case _:
626 names.lay(t, rest)