package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type nonrec ('a, 'b) t = private ('a, 'b) Comparator.t = {
  1. compare : 'a -> 'a -> Base.Int.t;
  2. sexp_of_t : 'a -> Sexplib.Sexp.t;
}
type ('a, 'b) comparator = ('a, 'b) t

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

val make : compare:('a -> 'a -> Base.Int.t) -> sexp_of_t:('a -> Sexplib.Sexp.t) -> (module Comparator.S_fc with type comparable_t = 'a)