def tool.find.pick
import ezx@1.11.0.0/src/ledger/manifest.bend as Manifestimport Base
456# this tool when its name matches, otherwise whatever the rest gave
457def tool.find.pick(hit: Bool, pin: Tool, rest: Tool) -> Tool:
458 match hit:
459 case True{}:
460 pin
461 case False{}:
462 rest