ev(a+b,[a,b]:[2,3]) => a+b
ev(a+b,[a,b]=[2,3]) => a+b
a+b,[a,b]:[2,3] => a+b <<< the command-line short form
a+b,[a,b]=[2,3] => a+b
I think a reasonable user would expect the parallel bindings in ev to function just like parallel assignment (even though that's not promised in the manual).
At the very least, this should cause an error.
This shouldn't be that hard to implement, since after all, ev bindings are already parallel, not sequential:
[a,b],b=a,a=b => [b,a]
I came across this case because I happened to have some parameter values in list form.
Diff:
I agree that a user might expect parallel bindings here, but the documentation for
evdescribes what's going on:I don't have access to a newer Maxima version at the moment, but here are some quick examples using an older version that I currently have access to:
In addition to ev and makelist, subst does not make these kind of multiple substitutions either:
This ticket has been sitting for a while, so I'm closing this as not-a-bug based on my previous comment which showed that this is the documented behavior.
Please comment and/or re-open if you disagree.