Login

Style

File names

The compiler will look for a file named SomeModule.ml first, then try someModule.ml.

The support for file names starting with a lowercase letter was introduced in the very early days of OCaml (when it was called Caml Special Light, actually), to ease transition from Caml Light, and stuck around because many users are lazy with the Shift key. But I think it makes more sense to use SomeModule.ml file names that match the capitalization of the module name.

- Xavier Leroy, https://discuss.ocaml.org/t/the-use-of-camelcase-in-ocaml/11448/7