Switch.any_switchable: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/switch.bend as Switch Lines 207-212 of cswap-bend-cli@0.1.0.0/switch.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/switch.bend&start_line=207&end_line=212 import Base import cswap-bend-cli@0.1.0.0/swpick.bend as P def any_switchable(+cs: List<&2, P.Cand>) -> Bool: match cs: case Nil{}: False{} case Con{P.Cand{s, d, sw, h}, t}: sw || any_switchable(t) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swpick.bend&name=Cand