def paths.of

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

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

460# every text read as a path's segments
461def paths.of(ts: List<&2, String>) -> List<&2, List<&2, String>>:
462  match ts:
463    case []:
464      []
465    case +hd <> tl:
466      segs.of(hd) <> paths.of(tl)

Uses (3)

Used by (1)