Module Comparable.Polymorphic_compare

Parameters

module T : sig ... end

Signature

include Comparisons.Infix with type t := T.t
val (>=) : T.t -> T.t -> bool
val (<=) : T.t -> T.t -> bool
val (=) : T.t -> T.t -> bool
val (>) : T.t -> T.t -> bool
val (<) : T.t -> T.t -> bool
val (<>) : T.t -> T.t -> bool
val equal : T.t -> T.t -> bool
val compare : T.t -> T.t -> int

compare t1 t2 returns 0 if t1 is equal to t2, a negative integer if t1 is less than t2, and a positive integer if t1 is greater than t2.

val min : T.t -> T.t -> T.t
val max : T.t -> T.t -> T.t