records

Copying fields in OCaml

Hi Guys, I have a very basic question regarding OCaml records. Suppose I have a record defined: type r = {a:int;b:int;c:int} let x = {a=3;b=8;c=2} Now, suppose I want to create a new record which has all fields equal to x but which has c=4. I could write: let y = {a=3;b=8;c=4} but this is annoying because there's not need to re-wr...