package base

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

First-class representative of an individual variant in a variant type, used in [@@deriving variants].

type 'constructor t = {
  1. name : string;
    (*

    The position of the constructor in the type definition, starting from 0

    *)
  2. rank : int;
  3. constructor : 'constructor;
}
OCaml

Innovation. Community. Security.