Bug ID: 893633 "depends(a,[b,b,b])".



On 11/30/09, Dieter Kaiser <drdieterkaiser at web.de> wrote:

> There are two changes in the output visible to the user:
>
> 1. depends now add the new dependencies always at the end of the
>    property list.
> 2. The return value of depends shows the complete dependencies,
>    including the dependencies already on the property list.
>
> (%i4) depends(f,[x,y]);
> (%o4) [f(x,y)]
> (%i5) depends(f,[a,b]);
> (%o5) [f(x,y,a,b)]

Hmm. I'm not in favor of this. I'm pretty sure it is clearer to have
the effect of a declaration supersede previous declarations.
Otherwise to know the effect of a new declaration, you have to
know any previous ones.

best

Robert Dodier