def cmp_one_hot
import mylsm-lsm-store@0.3.2.0/src/Keys.bend as Keysimport Base
67# Cmp is intrinsically one-hot; this predicate gives K6 a reusable statement.
68def cmp_one_hot(+ord: Cmp) -> Bool:
69 one_hot3(cmp_is_lt(ord), cmp_is_eq(ord), cmp_is_gt(ord))