Leo Butler wrote:
> 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
>
>
I think this is not a bug, 0 is a constant, and 1 is a constant.