package ordering

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Element ordering

type t =
  1. | Lt
    (*

    Lesser than

    *)
  2. | Eq
    (*

    Equal

    *)
  3. | Gt
    (*

    Greater than

    *)
val of_int : int -> t
val to_int : t -> int
val to_string : t -> string

returns the string representation. one of: "<", "=", ">"

val is_eq : t -> bool
val min : ('a -> 'a -> t) -> 'a -> 'a -> 'a
val max : ('a -> 'a -> t) -> 'a -> 'a -> 'a
module O : sig ... end