Module files, module names, and capitalization

No you can name your file fooBar.mli. That said the programming guidelines advise you to separate words by underscore and not use camelcase.

Since I don’t want to think too much about these things either while defining or using identifiers I always simply lowercase everything (acronyms included) separate words by underscore and for modules names in code capitalize the first letter as is mandated by the language.

3 Likes