Hello,
I was wondering why these 2 expression did not return the same thing
* (list (quote quote))
(QUOTE)
* (list (quote quote) 1)
('1)
Thanks for lighting me up ;-)
On May 4, 5:28 pm, Antoine wrote:
> Hello,
>
> I was wondering why these 2 expression did not return the same thing
>
> * (list (quote quote))
> (QUOTE)
>
> * (list (quote quote) 1)
> ('1)
>
> Thanks for lighting me up ;-)
(quote quote) evaluates to QUOTE .
and '1 is shorthand for (QUOTE 1)
so (list (quote quote)) evaluates to (QUOTE) and
(list (quote quote) 1) evaluates to (QUOTE 1)
which is then rendered as ('1) .