package core_kernel

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

Extends Base.Comparator, providing a type-indexed value that allows you to compare values of that type.

type ('a, 'witness) t = private ('a, 'witness) Base.Comparator.t = {
  1. compare : 'a -> 'a -> Base.Int.t;
  2. sexp_of_t : 'a -> Base.Sexp.t;
}
include module type of Base.Comparator with type ('a, 'witness) t := ('a, 'witness) t
type (!'a, !'b) comparator = ('a, 'b) t
module type S = Comparator.S
module type S1 = Comparator.S1
module type S_fc = Comparator.S_fc
val make : compare:('a -> 'a -> int) -> sexp_of_t:('a -> Base__.Sexp.t) -> (module S_fc with type comparable_t = 'a)
module Poly : sig ... end
module S_to_S1 (S : Comparator.S) : sig ... end
module Make (M : sig ... end) : sig ... end
module Make1 (M : sig ... end) : sig ... end
module Derived (M : sig ... end) : sig ... end
module Derived2 (M : sig ... end) : sig ... end

The following module types and functors may be used to define stable modules

module Stable : sig ... end
OCaml

Innovation. Community. Security.