[erlang-questions] sytax of atoms
Sat Apr 14 20:50:39 CEST 2007
Tony Finch wrote:
> The reference manual doesn't say that dots are permitted in atoms but they
> seem to be, e.g. in unquoted long node names.
Dots are not allowed as such, but a dot between two atoms: 'foo'.'bar',
is a compile time operator that concatenates the atoms to 'foo.bar'.
This is an extension which was made to support the (still not officially
supported) Java-like package system. That's why it's not documented.
More information about the erlang-questions