Nat.cmp: def of Base Import: import Base Lines 717-726 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=717&end_line=726 import Base def Nat.cmp(a: Nat, b: Nat) -> Cmp: match a b: case 0n 0n: EQ{} case 0n 1n+bp: LT{} case 1n+ap 0n: GT{} case 1n+ap 1n+bp: Nat.cmp(ap, bp) 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