Module Typerep_lib__Std_internal.Typerep.Field

type ('record, 'field) t
val label : ('a'bt ‑> string
val index : ('a'bt ‑> int
val get : ('record'fieldt ‑> 'record ‑> 'field

Field accessors. This corresponds to the dot operation. Field.get bar_field t returns the field bar of the record value t, just the same as t.bar

val is_mutable : ('a'bt ‑> bool

return whether the field is mutable, i.e. whether its declaration is prefixed with the keyword mutable

val tyid : ('a'fieldt ‑> 'field Typerep_lib.Typename.t

return the type_name of the arguments. Might be used to perform some lookup based on it

val traverse : ('a'fieldt ‑> 'field t

get the computation of the arguments

val internal_use_only : ('a'bField_internal.t ‑> ('a'bt