package regular

  1. Overview
  2. Docs

creates a module implementing Opaque interface.

Parameters

module M : sig ... end

Signature

include Core_kernel.Std.Comparable.S with type t := M.t
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 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 Core_kernel.Or_error.t
module Replace_polymorphic_compare : sig ... end
type comparator_witness
val comparator : (M.t, comparator_witness) Core_kernel.Comparator.comparator
val validate_lbound : min:M.t Core_kernel.Maybe_bound.t -> M.t Core_kernel.Validate.check
val validate_ubound : max:M.t Core_kernel.Maybe_bound.t -> M.t Core_kernel.Validate.check
val validate_bound : min:M.t Core_kernel.Maybe_bound.t -> max:M.t Core_kernel.Maybe_bound.t -> M.t Core_kernel.Validate.check
module Map : sig ... end
module Set : sig ... end
include Core_kernel.Std.Hashable.S with type t := M.t
val hash : M.t -> int
val compare : M.t -> M.t -> int
val hashable : M.t Core_kernel.Std.Hashable.Hashtbl.Hashable.t
module Table : sig ... end
module Hash_set : sig ... end
module Hash_queue : sig ... end