def dirs.of

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

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

238# the directory of every ledger, in order
239def dirs.of(ls: List<&2, Ledger>) -> List<&2, List<&2, String>>:
240  match ls:
241    case []:
242      []
243    case +hd <> tl:
244      ledger.dir(hd) <> dirs.of(tl)

Uses (4)

Used by (3)