package orsetto

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

Module type defining a type t and a corresponding total ordering function, of the sort generated by Ppx_deriving, which returns the same value as the standard Stdlib.compare function.

type t

An abstract type.

val compare : t -> t -> int

Use compare a b to compare a and b, returning 0 if the two values have equal ordering, 1 if a precedes b and -1 if a succeeds b.