Generation of accessor and iteration functions for OCaml records
