Args.choose: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/args.bend as Args Lines 313-318 of cswap-bend-cli@0.1.0.0/args.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/args.bend&start_line=313&end_line=318 import Base def choose(+vb: String, alts: List<&2, Alt>, dflt: Parsed) -> Parsed: match alts: case Nil{}: dflt case Con{Alt{k, v}, t}: choose.pick(String.eq(k, vb), v, choose(vb, t, dflt)) Uses (6): 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=Alt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=Parsed https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=choose.pick