Plan.once.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/plan.bend as Plan Lines 704-710 of ezx@1.11.0.0/src/pub/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/plan.bend&start_line=704&end_line=710 import Base import ezx@1.11.0.0/src/lock/lock.bend as L # each string of a list once, where it first appears def once.go(xs: List<&2, String>, +seen: List<&2, String>) -> List<&2, String>: match xs: case []: [] case +h <> t: once.pick(L.seen.holds(seen, h), h, once.go(t, h <> seen)) Uses (4): 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.11.0.0/src/lock/lock.bend&name=seen.holds https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/plan.bend&name=once.pick