> This is implemented by defstruct.lisp which is already in share/contrib.
> However there were problems with the defstruct stuff so it didn't get
> merged into src/. We should take another look at that and clear up
> any remaining problems.
>
> e.g.
> load (defstruct);
> [a, b, c] : [1, x, sin(y)];
> values;
> => [a, b, c]
> [a, b, c];
> => [1, x, sin(y)]
I also noticed a problem with mset:
(%i1) i:1$
(%i2) b:[1,2]$
(%i3) b[i]:2$
(%i4) b;
(%o4) [2,2]
(%i5) load(defstruct)$
(%i6) b[i]:0$
(%i7) b;
(%o7) [2,2]
(%i8) i;
(%o8) 0
Andrej