Plan.names.ruled: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/plan.bend as Plan Lines 514-520 of ezx@1.11.0.0/src/lock/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/plan.bend&start_line=514&end_line=520 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # the first name of a list the hub rules out, or "" when it rules them all in def names.ruled(nvs: List<&2, String>) -> String: match nvs: case []: "" case +h <> t: names.missing.pick(Bool.not(K.name.ok(h)), h, _u => names.ruled(t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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/plan.bend&name=names.missing.pick https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=name.ok