Maxima lists and the delete function



Robert Dodier wrote:

> 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.
> 
>

Same for me here (FreeBSD and Linux) i don't see the problem:
niobe% maxima
Maxima 5.17.1 http://maxima.sourceforge.net
Using Lisp CMU Common Lisp Snapshot 2008-02 (19E)

(%i1) E1 : [1,0,2,0,0,3,0,0,0,4];
(%o1)                   [1, 0, 2, 0, 0, 3, 0, 0, 0, 4]
(%i2) delete(0, E1);
(%o2)                            [1, 2, 3, 4]


-- 
Michel Talon