package b0

  1. Overview
  2. Docs

Type identifiers.

Type identifiers

type 'a t

The type for type identifiers for a type 'a.

val create : unit -> 'a t

create () 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.