package ppx_typed_fields

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

Parameters

module T3 : Base.T3

Signature

type ('a, 'b, 'c, 'r) t =
  1. | T : ('a, 'b, 'c, ('a, 'b, 'c) T3.t) t
include S3 with type ('a, 'b, 'c) derived_on = ('a, 'b, 'c) T3.t and type ('a, 'b, 'c, 'r) t := ('a, 'b, 'c, 'r) t
include Typed_fields_lib.Common.S3 with type ('a, 'b, 'c) derived_on = ('a, 'b, 'c) T3.t with type ('a, 'b, 'c, 'r) t := ('a, 'b, 'c, 'r) t
type ('a, 'b, 'c) derived_on = ('a, 'b, 'c) T3.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) : 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.

val get : ('t1, 't2, 't3, 'a) t -> ('t1, 't2, 't3) derived_on -> 'a Base.option
val create : ('t1, 't2, 't3, 'a) t -> 'a -> ('t1, 't2, 't3) derived_on
val which : ('t1, 't2, 't3) derived_on -> Packed.t