Workspace.nested: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/ws/workspace.bend as Workspace Lines 304-311 of ezx@1.13.0.0/src/ws/workspace.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/ws/workspace.bend&start_line=304&end_line=311 import Base # the first member whose ledger has a `[workspace]` table, "" for none def nested(ls: List<&2, Ledger>) -> String: match ls: case []: "" case +hd <> tl: rest = nested(tl) Bool.pick(String, ledger.nested(hd), segs.text(ledger.dir(hd)), rest) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/ws/workspace.bend&name=Ledger https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/ws/workspace.bend&name=ledger.dir https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/ws/workspace.bend&name=ledger.nested https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/ws/workspace.bend&name=segs.text