OCaml Mutable record fields Initializing a record with mutable fields


Example

Initializing a record with mutable fields isn't different from a regular record initialization.

let john = { name = "John"; weight = 115 };;