Module Comparator.Derived_phantom

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

Parameters

Signature

type ('a, 'b) t
type 'cmp comparator_witness
val comparator : ('a'cmp) comparator -> (('a_) t'cmp comparator_witness) comparator