[erlang-questions] bug or feature?

Vlad Dumitrescu <>
Wed Aug 1 21:29:58 CEST 2007


Hi,

On 8/1/07, Dmitriy Kargapolov <> wrote:
> Is it a bug or some magic feature in erlang shell when using atom query
> with no quotes?

The atom 'query' is also a keyword in the language. Just like 'begin',
'end', 'if', 'receive' and the others, it has to be quoted to be
interpreted as an atom. See the Erlang Reference Manual, §1.5

best regards,
Vlad



More information about the erlang-questions mailing list