package baby

  1. Overview
  2. Docs
type t

The type of the set elements.

val compare : t -> t -> int

A total ordering function over values of type t. compare x1 x2 must be zero if x1 and x2 are equal. It must be strictly negative if x1 is smaller than x2. It must be strictly positive if x1 is greater than x2.

OCaml

Innovation. Community. Security.