LAWS.flip: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/LAWS.bend as LAWS Lines 97-106 of bend-kit-collections@0.1.4.1/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/LAWS.bend&start_line=97&end_line=106 import Base # The laws below hold for every comparator that is a total order, with EQ # meaning equal keys. def flip(c: Cmp) -> Cmp: match c: case LT{}: GT{} case EQ{}: EQ{} case GT{}: LT{} Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp