In SBCL, you get some warnings, because what you're doing is assigning
to a variable with no binding. This is (strictly speaking) undefined
behaviour; SBCL does in fact set the SYMBOL-VALUE of LPAREN to what you
ask it to (so it doesn't "fail") but it also tells you that you
shouldn't do that.
To define a global variable, use DEFPARAMETER (and conventionally,
*earmuff* your variable).
murray wolinsky <email address hidden> writes:
> I don't understand. This is what I get:
In SBCL, you get some warnings, because what you're doing is assigning
to a variable with no binding. This is (strictly speaking) undefined
behaviour; SBCL does in fact set the SYMBOL-VALUE of LPAREN to what you
ask it to (so it doesn't "fail") but it also tells you that you
shouldn't do that.
To define a global variable, use DEFPARAMETER (and conventionally,
*earmuff* your variable).
Christophe