Maxima lists and the delete function



On 3/21/09, Barton Willis <willisb at unk.edu> wrote:

>>input:                E1 : [1,0,2,0,0,3,0,0,0,4];
>>input:                delete(0, E1);
>>output:              [1, 2, 0, 3, 0, 4]

For the record, I don't see this behavior; the result I get is [1, 2, 3, 4].
I have Linux + Maxima 5.9.0 + GCL, and 5.17post + GCL, ECL, & Clisp,
and Windows + 5.17.1 + GCL.

> The user documentation needs improvement;

I've revised & expanded the documentation for delete in hope of greater clarity.

best

Robert Dodier