From: Antoine
Subject: Evaluation of quote function
Date: 
Message-ID: <463b5f24$0$24849$426a74cc@news.free.fr>
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 ;-)

From: Chris Russell
Subject: Re: Evaluation of quote function
Date: 
Message-ID: <1178297093.975879.236200@n59g2000hsh.googlegroups.com>
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) .
From: Chris Russell
Subject: Re: Evaluation of quote function
Date: 
Message-ID: <1178297232.050405.127150@c35g2000hsg.googlegroups.com>
> which is then rendered as ('1) .

and that last ('1) should read '1, whoops.

You can't get ('1) out.