package b0

  1. Overview
  2. Docs
On This Page
  1. Type identifiers
Legend:
Library
Module
Module type
Parameter
Class
Class type

Type identifiers.

Type identifiers

type 'a t

The type for type identifiers for a type 'a.

val v : unit -> 'a t

v () is a new type identifier.

type ('a, 'b) eq =
  1. | Eq : ('a, 'a) eq

The type for type identifier equality testing.

val equal : 'a t -> 'b t -> ('a, 'b) eq option

equal t0 t1 determines if t0 and t1 are equal.

OCaml

Innovation. Community. Security.