package base

  1. Overview
  2. Docs
Full standard library replacement for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.14.3.tar.gz
sha256=e34dc0dd052a386c84f5f67e71a90720dff76e0edd01f431604404bee86ebe5a

doc/base/Base/Equal/index.html

Module Base.Equal

This module defines signatures that are to be included in other signatures to ensure a consistent interface to equal functions. There is a signature (S, S1, S2, S3) for each arity of type. Usage looks like:

  type t
  include Equal.S with type t := t

or

  type 'a t
  include Equal.S1 with type 'a t := 'a t
type 'a t = 'a -> 'a -> bool
type 'a equal = 'a t
module type S = sig ... end
module type S1 = sig ... end
module type S2 = sig ... end
module type S3 = sig ... end
OCaml

Innovation. Community. Security.