Swpick.best4: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swpick.bend as Swpick Lines 116-125 of cswap-bend-cli@0.1.0.0/swpick.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swpick.bend&start_line=116&end_line=125 import Base def best4(+wins: Bool, +s: String, +unknown: Bool, +exhausted: Bool) -> BestOut: match wins unknown exhausted: case True{} _ _: BPick{s} case False{} True{} _: BNote{"incomplete-comparison"} case False{} False{} True{}: BNote{"exhausted"} case False{} False{} False{}: BNote{"stay"} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swpick.bend&name=BestOut