module T:sig..end
Field. The type ('a,'r) t describes a field of type 'a for the record 'r.
Each field has a name, a type witness ty, a procedure set to change
the field if it is mutable.
type ('a, 'r) field = {
|
name : |
(* |
name of the field
| *) |
|
ty : |
(* |
type of the field
| *) |
|
set : |
(* |
procedure for updating the field if it is mutable
| *) |
('t,'r) field describes a field of type 't for the record 'r.
Each field has a name, a type witness ty, a procedure set to change
the field if it is mutable.