package ppx_typed_fields

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

Parameters

module T5 : sig ... end

Signature

type ('t1, 't2, 't3, 't4, 't5, 'r) t =
  1. | T : ('t1, 't2, 't3, 't4, 't5, ('t1, 't2, 't3, 't4, 't5) T5.t) t
include S5 with type ('t1, 't2, 't3, 't4, 't5) derived_on = ('t1, 't2, 't3, 't4, 't5) T5.t and type ('t1, 't2, 't3, 't4, 't5, 'r) t := ('t1, 't2, 't3, 't4, 't5, 'r) t
type ('t1, 't2, 't3, 't4, 't5) derived_on = ('t1, 't2, 't3, 't4, 't5) T5.t
val name : (_, _, _, _, _, _) t -> Base.string
val path : (_, _, _, _, _, _) t -> Base.string Base.list
val __ord : (_, _, _, _, _, _) t -> Base.int Base.list
module Type_ids (T1 : Base.T) (T2 : Base.T) (T3 : Base.T) (T4 : Base.T) (T5 : Base.T) : sig ... end

The name of the field, e.g. "rgb" from the example at the top of the page.

module Packed : sig ... end

Packed is useful for making collections of 'a t's with different 'a's.

type ('t1, 't2, 't3, 't4, 't5) creator = {
  1. f : 'a. ('t1, 't2, 't3, 't4, 't5, 'a) t -> 'a;
}
val get : ('t1, 't2, 't3, 't4, 't5, 'a) t -> ('t1, 't2, 't3, 't4, 't5) derived_on -> 'a
val set : ('t1, 't2, 't3, 't4, 't5, 'a) t -> ('t1, 't2, 't3, 't4, 't5) derived_on -> 'a -> ('t1, 't2, 't3, 't4, 't5) derived_on
val create : ('t1, 't2, 't3, 't4, 't5) creator -> ('t1, 't2, 't3, 't4, 't5) derived_on