def name.parts

ezx@1.11.0.0 · src/fetch/plan.bend:592

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/fetch/world.bend as F
import ezx@1.11.0.0/src/lock/lock.bend as L

592# where every name of the lock stands
593def name.parts(+rs: List<&2, F.Reply>, ns: List<&2, L.Name>) -> List<&2, Nm>:
594  match ns:
595    case []:
596      []
597    case h <> t:
598      name.part(rs, h) <> name.parts(rs, t)

Uses (5)

Used by (1)