[erlang-questions] Wrong advertised spec of lists:append/2
Pierre Fenoll
pierrefenoll@REDACTED
Thu Mar 28 15:12:08 CET 2013
> It's not a contradiction, as kostis noted specs are not complete
> enumerations of all possible argument types.
Well, lists:append/2 asks for a list() as a second argument. Shouldn't
it badarg when I give it 'a', as in lists:append([], a) ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130328/d9555a2f/attachment.htm>
More information about the erlang-questions
mailing list