[erlang-questions] What's this mean:[1|1]?It's it a bug?
饕餮
249505968@REDACTED
Wed Jul 3 12:03:07 CEST 2013
One of my new teammate found that this expression can work like list:nth(1,[1|1]) is legal.And the is_list([1|1]) is true
so what's this expression mean or it's just like some bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130703/62a6a8c0/attachment.htm>
More information about the erlang-questions
mailing list