def names

ezx@1.11.0.0 · src/ws/workspace.bend:321

import ezx@1.11.0.0/src/ws/workspace.bend as Workspace
import Base

321# the package name of every member, the root's first when it is one
322def names(root: Root, ls: List<&2, Ledger>) -> List<&2, String>:
323  match root:
324    case Virtual{}:
325      names.of(ls)
326    case Package{nn}:
327      nn <> names.of(ls)

Uses (5)

Used by (2)