package coq-core

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

Helpers to write comparison functions

type list =
  1. | []
  2. | :: : (('a -> 'a -> int) * 'a * 'a) * list -> list
val compare : list -> int

Compare the elements in the order they are given using the provided comparison function until the first non-zero result.

OCaml

Innovation. Community. Security.