Erlang原子和"&引用;

Erlang原子和"&引用;,erlang,Erlang,这是erlang shell的输出: 1> atom. atom 2> next_atom. next_atom 3> atom@erlang. atom@erlang 4> 'atom in single quotes'. 'atom in single quotes' 5> atom = 'atom'. atom 6> a.tom. 'a.tom' 7> a..tom. * 1: syntax error before: '..' 当atom(第6

这是erlang shell的输出:

1> atom.
atom
2> next_atom.
next_atom
3> atom@erlang.
atom@erlang
4> 'atom in single quotes'.
'atom in single quotes'
5> atom = 'atom'.
atom
6> a.tom.
'a.tom'
7> a..tom.
* 1: syntax error before: '..'

当atom(第6行)中只有一个点时,我没有得到任何错误。但是,当出现
时,我会得到语法错误。
在Erlang中有什么特殊意义吗?或者当
工作正常时,为什么会出现错误?

原子中不允许有点,而是两个原子之间的点:
'foo.'bar'
, 是一个编译时运算符,它将原子连接到
'foo.bar'

这是一个扩展,用于支持
支持)类Java包系统。这就是为什么它没有被记录下来

Afaik还引入了带“.”的语法,以允许原子作为主机名,即。bofh@home.comThis这是几年前提出的问题,但新版本的Erlang似乎根本不允许原子中有点。我试图粘贴一个示例,但格式不正确
a.tom。
给我
*1:前面的语法错误:'.