Module Base.Comparator.Derived

Derived creates a comparator function that constructs a comparator for the type 'a t given a comparator for the type 'a.

Parameters

M : sig ... end

Signature

type 'a t
type 'cmp comparator_witness
val comparator : ('a'cmpcomparator ‑> ('a t'cmp comparator_witnesscomparator