bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40671: [DOC] modify literal objects


From: Dmitry Gutov
Subject: bug#40671: [DOC] modify literal objects
Date: Fri, 1 May 2020 06:13:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 29.04.2020 04:38, Paul Eggert wrote:
On 4/28/20 5:55 PM, Drew Adams wrote:
You're_not_  using the language that's used for Common Lisp.
In what sense does the language differ? Here's a quote from CLtL2 (page 115):

"it is an error to destructively modify any object that appears as a constant
in executable code, whether within a 'quote' special form or as
a self-evaluating form."

As Drew pointed out (and if I understood this correctly), the above specification leads to implementations that do raise an error when someone tried to modify such a value.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]