Module Comparable

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: 
functor (T : Comparator.Pre_binable) -> sig .. end
module Poly: 
functor (T : sig
type t 
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
end) -> sig .. end
module Make_common: 
functor (T : sig
type t 
val compare : t -> t -> int
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
end) -> sig .. end
module Make: 
functor (T : sig
type t 
val compare : t -> t -> int
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
end) -> sig .. end
module Make_binable: 
functor (T : sig
type t 
val compare : t -> t -> int
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val bin_t : t Bin_prot.Type_class.t
val bin_read_t : t Bin_prot.Read_ml.reader
val bin_read_t_ : t Bin_prot.Unsafe_read_c.reader
val bin_read_t__ : (int -> t) Bin_prot.Unsafe_read_c.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write_ml.writer
val bin_write_t_ : t Bin_prot.Unsafe_write_c.writer
val bin_writer_t : t Bin_prot.Type_class.writer
end) -> sig .. end
module Inherit: 
functor (C : sig
type t 
val compare : t -> t -> int
end) ->
functor (T : sig
type t 
val component : t -> C.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
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.