def flip
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import Base
253def flip(c: Cmp) -> Cmp:
254 match c:
255 case LT{}:
256 GT{}
257 case EQ{}:
258 EQ{}
259 case GT{}:
260 LT{}
Uses (1)
Used by (25)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:ord
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp:cmp_flip
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp:lt_of_gt
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp:cmp_gt
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:rne_c
- …