def stray.first
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
508def stray.first(+ls: List<&2, String>, ps: List<&2, String>) -> String:
509 match ps:
510 case []:
511 ""
512 case +h <> t:
513 stray.step(tracked.has(ls, h), h, _u => stray.first(ls, t))