[plt-scheme] Semantics of quote
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