Freshen.rank2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/freshen.bend as Freshen Lines 70-81 of cswap-bend-cli@0.1.0.0/daemon/freshen.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/freshen.bend&start_line=70&end_line=81 import Base def rank2(+a: Bool, +b: Bool, +c: Bool, +d: Bool) -> U32: match a b c d: case True{} _ _ _: 1 case False{} True{} _ _: 2 case False{} False{} True{} _: 3 case False{} False{} False{} True{}: 4 case _ _ _ _: 0 Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32