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

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

Re: Calling a function with undefined symbol


From: Emanuel Berg
Subject: Re: Calling a function with undefined symbol
Date: Sat, 05 Nov 2022 13:57:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Heerdegen wrote:

>> because `quote' does not evaluate anything, not even
>> itself
>
> I'm not so happy with this sentence, however. Not sure what
> you intended to say.

If you evaluate `quote' you get the argument but it isn't
evaluated, and this doesn't change if the argument is
another quote.

              (+ 1 2 3)   ; 6
       (quote (+ 1 2 3))  ; not evaluated into 6, instead it's a list
(quote (quote (+ 1 2 3))) ; now it's a list with quote as the first element

And so on.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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