[plt-scheme] Semantics of quote

From: Filipe Cabecinhas (filcab at gmail.com)
Date: Mon Jun 23 15:45:38 EDT 2008

On 23 Jun, 2008, at 20:42, Filipe Cabecinhas wrote:

>
> On 23 Jun, 2008, at 20:15, Matthias Felleisen wrote:
>
>>
>> But what does 'a mean? Where did it come from? How does
>>
>> 'a print in a "real" Scheme, after evaluating to itself?
>> ''a print in a "real" Scheme, after evaluating to itself?
>> '''a print in a "real" Scheme, after evaluating to itself?
>> ''''a print in a "real" Scheme, after evaluating to itself?
>>
>> -- Matthias
>>
>
> <Snip>

Sorry. Missed the "print" part...

I would accept printing them either as
a
'a
''a
'''a

or

a
(quote a)
(quote (quote a))
(quote (quote (quote a)))

Or a special case just for the one-level quote.

   - Filipe Cabecinhas





Posted on the users mailing list.