As far as I understand (and I may be wrong since I am new to Elixir), one can choose to create a single-app Mix project with multiple .ex files, each with multiple modules in them. And they can be used within each other through alias, import etc.
If that is the case, what is the purpose of the "main module" during creation, either implicitly (Uppercased project name) or explicitly (as in, mix new ... --module <modulename>
)?
PS: I understand that escripts require a main module to be specified in mix.exs
, but that is not what I am referring to in my question (or am I?).