The module name is atom , so it should begin with a lowercase letter, unless you enclose it in single quotes. It is really possible:
%% in Foo.erl -module('Foo'). ... %% in Erlang shell 1> 'Foo':foo(). "foo"
But absolutely terrible, so do not do this.
source share