def entries.of

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

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

452# every text read as an entry
453def entries.of(ts: List<&2, String>) -> List<&2, Entry>:
454  match ts:
455    case []:
456      []
457    case +hd <> tl:
458      entry.of(segs.of(hd)) <> entries.of(tl)

Uses (5)

Used by (1)