package stdune

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

Module Type_eq.IdSource

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.

type ('a, 'b) eq := ('a, 'b) t
Sourcetype 'a t
Sourceval create : unit -> 'a t
Sourceval hash : _ t -> int
Sourceval equal : _ t -> _ t -> bool
Sourceval same : 'a t -> 'b t -> ('a, 'b) eq option
OCaml

Innovation. Community. Security.