[erlang-questions] Irregular list
Ladvánszky Károly
lk@REDACTED
Thu Feb 12 16:10:07 CET 2009
Just getting acquainted with this wonderful system, Ive run into the
following issue:
The shell seems to accept a structure like this: [a | b].
is_list([a | b]) returns true but length([a | b]) raises an exception.
Is it like an open list found in some programming languages?
Any help would be appreciated,
LKaroly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090212/27fe5313/attachment.htm>
More information about the erlang-questions
mailing list