def once.pick
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
696# a string kept unless it was seen before
697def once.pick(dup: Bool, +word: String, rest: List<&2, String>) -> List<&2, String>:
698 match dup:
699 case True{}:
700 rest
701 case False{}:
702 word <> rest