Comment 4 for bug 1753341

Revision history for this message
murray wolinsky (mbob) wrote : Re: [Bug 1753341] Re: (setf lparen '#\( ) fails

Thank you!

I'm new at this -- and probably shouldn't have filed a bug report. I'll be
more careful.

Murray

On Mon, Mar 5, 2018 at 3:41 AM, Christophe Rhodes <
<email address hidden>> wrote:

> 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
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1753341
>
> Title:
> (setf lparen '#\( ) fails
>
> Status in SBCL:
> Invalid
>
> Bug description:
> Type
>
> (setf lparen '#\( )
>
> in the repl. In clisp, this behaves as I expect it to. In sbcl, it
> fails.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/sbcl/+bug/1753341/+subscriptions
>