module Comparable: Comparable
val __pa_ounit_275876e34cf609db118f3d84b799a790 : string
module type Infix = Polymorphic_compare_intf.Infix
module type Polymorphic_compare = Polymorphic_compare_intf.S
module type S_common = sig
.. end
module type S = sig
.. end
module type Map_and_set_binable = sig
.. end
module type S_binable = sig
.. end
module Map_and_set_binable:
module Poly: functor (
T
:
sig
end
) ->
sig
.. end
module Make_common: functor (
T
:
sig
end
) ->
sig
.. end
module Make: functor (
T
:
sig
end
) ->
sig
.. end
module Make_binable: functor (
T
:
sig
end
) ->
sig
.. end
module Inherit: functor (
C
:
sig
type
t
val compare : t -> t -> int
end
) ->
functor (
T
:
sig
end
) ->
sig
.. end
Inherit comparability from a component.
val lexicographic : ('a -> 'b -> int) list -> 'a -> 'b -> int
ascending
is identical to compare
. descending x y = ascending y x
. These are
intended to be mnemonic when used like List.sort ~cmp:ascending
and List.sort
~cmp:descending
, since they cause the list to be sorted in ascending or descending
order, respectively.
Inherit comparability from a component.