package core

  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 validate_lbound : min:M.t Maybe_bound.t -> M.t Validate.check
val validate_ubound : max:M.t Maybe_bound.t -> M.t Validate.check
val validate_bound : min:M.t Maybe_bound.t -> max:M.t Maybe_bound.t -> M.t Validate.check
module Replace_polymorphic_compare : sig ... end
include Comparator.S with type t := M.t with type comparator_witness := M.comparator_witness
val comparator : (M.t, M.comparator_witness) Comparator.comparator
module Map : Map.S_binable with type Key.t = M.t with type Key.comparator_witness = M.comparator_witness
module Set : Set.S_binable with type Elt.t = M.t with type Elt.comparator_witness = M.comparator_witness
OCaml

Innovation. Community. Security.