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
>
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: /bugs.launchpad .net/bugs/ 1753341 /bugs.launchpad .net/sbcl/ +bug/1753341/ +subscriptions
>
> > 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:/
>
> 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:/
>