Generation of accessor and iteration functions for ocaml records
