@sig(H[(Ord, "a")]/ "a" >> "a" >> Ordering)
def compare(x, y):
    return EQ if x == y else (LT if x < y else GT)
Initialize the partitioner
dataset/ETHPy150Open billpmurphy/hask/hask/Data/Ord.py/compare--crossover with--dataset/ETHPy150Open dpkp/kafka-python/kafka/partitioner/base.py/Partitioner.__init__