Logic.cmp_code: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend as Logic Lines 58-66 of bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend&start_line=58&end_line=66 import Base # Cmp discrimination. def cmp_code(c: Cmp) -> Nat: match c: case LT{}: 0n case EQ{}: 1n case GT{}: 2n Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat