On 4/2/07, Jaime E. Villate <villate at fe.up.pt> wrote...
re: listofvars( '( if x<3 then x^2 else y ))
This is an independent bug.
listofvars([%e,%pi,true,false,inf,und]) => [true, false, und]
because constantp incorrectly reports them as non-constant.
I have fixed this in CVS by making true (t), false (nil), und, and ind
into constants.
In some sense, und and ind aren't constants; on the other hand, they
certainly aren't variables.
-s