Module Base__.Field
type ('perm, 'record, 'field) t_with_perm=|Field of ('perm, 'record, 'field) For_generated_code.t'recordis the type of the record.'fieldis the type of the values stored in the record field with namename.'permis a way of restricting the operations that can be used.
type ('record, 'field) t= ([ `Read | `Set_and_create ], 'record, 'field) t_with_permA record field with no restrictions.
type ('record, 'field) readonly_t= ([ `Read ], 'record, 'field) t_with_permA record that can only be read, because it belongs to a private type.
val name : (_, _, _) t_with_perm -> stringval get : (_, 'r, 'a) t_with_perm -> 'r -> 'aval fset : ([> `Set_and_create ], 'r, 'a) t_with_perm -> 'r -> 'a -> 'rval setter : ([> `Set_and_create ], 'r, 'a) t_with_perm -> ('r -> 'a -> unit) optionval map : ([> `Set_and_create ], 'r, 'a) t_with_perm -> 'r -> f:('a -> 'a) -> 'rval updater : ([> `Set_and_create ], 'r, 'a) t_with_perm -> ('r -> f:('a -> 'a) -> unit) option
type ('perm, 'record, 'result) user={f : field. ('perm, 'record, 'field) t_with_perm -> 'result;}