[plt-scheme] Semantics of quote
Some examples:
(cons 'quote (cons 'a empty)) prints as 'a
Consider:
(define-syntax my-quote
(syntax-rules ()
((my-quote expr)
(quote expr))))
(quote (quote a))
and
(quote (my-quote a))
yield different outputs.
--Mark
On Mon, Jun 23, 2008 at 7:52 AM, Jos Koot <jos.koot at telefonica.net> wrote:
> Can you be somewhat more specific? What kind of subtle things do you
> encounter?
> jos
> ----- Original Message ----- From: "Mark Engelberg"
> <mark.engelberg at gmail.com>
> To: "pltscheme" <plt-scheme at list.cs.brown.edu>
> Sent: Monday, June 23, 2008 6:25 AM
> Subject: [plt-scheme] Semantics of quote
>
>
>> Can anyone point me to a fairly precise explanation of quote?
>> Sometimes I encounter subtle things that make me wonder whether my
>> mental model of how quote works is accurate.
>>
>> --Mark
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>