Module Base__.Comparator.Derived2

Derived2 creates a comparator function that constructs a comparator for the type ('a, 'b) t given comparators for the type 'a and 'b.

Parameters

M : sig ... end

Signature

type ('a, 'b) t
type ('cmp_a, 'cmp_b) comparator_witness
val comparator : ('a'cmp_acomparator ‑> ('b'cmp_bcomparator ‑> (('a'bt, ('cmp_a'cmp_bcomparator_witnesscomparator