package core_kernel

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

Parameters

module M : Base.Comparable.S
module X : sig ... end

Signature

include Base.Comparable.S with type t := M.t with type comparator_witness := M.comparator_witness
val (>=) : M.t -> M.t -> bool
val (<=) : M.t -> M.t -> bool
val (=) : M.t -> M.t -> bool
val (>) : M.t -> M.t -> bool
val (<) : M.t -> M.t -> bool
val (<>) : M.t -> M.t -> bool
val equal : M.t -> M.t -> bool
val compare : M.t -> M.t -> int
val min : M.t -> M.t -> M.t
val max : M.t -> M.t -> M.t
val ascending : M.t -> M.t -> int
val descending : M.t -> M.t -> int
val between : M.t -> low:M.t -> high:M.t -> bool
val clamp_exn : M.t -> min:M.t -> max:M.t -> M.t
val clamp : M.t -> min:M.t -> max:M.t -> M.t Base__.Or_error.t
val comparator : (M.t, M.comparator_witness) Base__.Comparator.comparator
val validate_lbound : min:M.t Base__.Maybe_bound.t -> M.t Base__.Validate.check
val validate_ubound : max:M.t Base__.Maybe_bound.t -> M.t Base__.Validate.check
val validate_bound : min:M.t Base__.Maybe_bound.t -> max:M.t Base__.Maybe_bound.t -> M.t Base__.Validate.check
module Replace_polymorphic_compare : sig ... end
module Map : Map.S with type Key.t = M.t with type Key.comparator_witness = M.comparator_witness
module Set : Set.S with type Elt.t = M.t with type Elt.comparator_witness = M.comparator_witness
OCaml

Innovation. Community. Security.