def find.pick
import ezx@1.11.0.0/src/ledger/manifest.bend as Manifestimport Base
306# this dependency when its name matches, otherwise whatever the rest gave
307def find.pick(hit: Bool, dependency: Dep, rest: Dep) -> Dep:
308 match hit:
309 case True{}:
310 dependency
311 case False{}:
312 rest