package opam-core

  1. Overview
  2. Docs

Polymorphic comparison functions

We use this module in opam codebase to flag polymorphic comparison usage.

val compare : 'a -> 'a -> int
val equal : 'a -> 'a -> bool
val (=) : 'a -> 'a -> bool
val (<>) : 'a -> 'a -> bool
val (<) : 'a -> 'a -> bool
val (>) : 'a -> 'a -> bool
val (<=) : 'a -> 'a -> bool
val (>=) : 'a -> 'a -> bool
OCaml

Innovation. Community. Security.