Is this a bug? That is, is the declaration that x is a constant expected
to preclude assigment?
(%i2) define_variable(x,0,constant);
modedeclare: warning: constant is not a built-in type; assuming it is a
Maxima extension type.
(%o2) 0
(%i3) constantp(x);
(%o3) true
(%i4) featurep(x,constant);
(%o4) false
(%i5) x:1;
(%o5) 1
(%i6) constantp(x);
(%o6) true
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.