package base

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.15.1.tar.gz
sha256=755e303171ea267e3ba5af7aa8ea27537f3394d97c77d340b10f806d6ef61a14

doc/base/Base/Equal/index.html

Module Base.EqualSource

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
Sourcetype 'a t = 'a -> 'a -> bool
Sourcetype 'a equal = 'a t
Sourcemodule type S = sig ... end
Sourcemodule type S1 = sig ... end
Sourcemodule type S2 = sig ... end
Sourcemodule type S3 = sig ... end