Music representation in OCaml