There is no name for a collection of classes in OCaml.
However, in many languages there is a name for a collection of compilation units, which happen to be classes in Java. (disclaimer: I never used java). In OCaml, compilation units are modules which can be bundled into a library.
Language | Compilation unit | Bundle of compilation units |
---|---|---|
C (unix) | source file .c compiled into object file .o | archive library .a, dynamic libraries .so |
Java | source file .java compiled into a .class | package |
OCaml (native) | source file .ml compiled into .o, .cmx | library .a, .cmxa |
Ocaml (bytecode) | source file .ml compiled into .cmo | library .cma |