Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  [erlang-questions] bug or feature?

Jan Henry Nystrom
Posted: Wed Aug 01, 2007 7:26 pm Reply with quote
User Joined: 09 Oct 2006 Posts: 28 Location: Uppsala, Sweden
Dmitriy Kargapolov wrote:
> Is it a bug or some magic feature in erlang shell when using atom query
> with no quotes?
>
> Eshell V5.5.4 (abort with ^G)
> 1> {query, "lalala"}.
> ** 1: syntax error before: ',' **
> 1> {'query', "lalala"}.
> {'query',"lalala"}
> 2>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions

Hi Dmitriy,
It is a (mis)feature, query is a keyword that is used by the
Mnesia query language Mnmosyne. It bit me quite a few times
when it had been introduced Smile.

/Cheers Henry


--
Jan Henry Nystrom <jan@erlang-consulting.com>
Training & Research Manager @ Erlang Training and Consulting Ltd
http://www.erlang-consulting.com
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum