[Maxima] Bug ID: 893633 "depends(a,[b,b,b])".
Robert Dodier
robert.dodier at gmail.com
Tue Dec 1 02:03:36 CST 2009
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
More information about the Maxima
mailing list