package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Equality between types. See Base.Type_equal for documentation.

type ('a, 'b) t =
  1. | T : ('a, 'a) t
val cast : ('a, 'b) t -> 'a -> 'b
module Id : sig ... end

Id provides identifiers for types, and the ability to test (via Id.same) at runtime if two identifiers are equal, and if so to get a proof of equality of their types.

OCaml

Innovation. Community. Security.