[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A small backquote logjam
From: |
Pascal J. Bourguignon |
Subject: |
Re: A small backquote logjam |
Date: |
Wed, 08 Dec 2010 15:13:10 -0000 |
User-agent: |
Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux) |
bolega <gnuist006@gmail.com> writes:
> Maybe I did not explain very well. What is the equivalent to the
> following in the backquote/unquote terminology.
>
> (list 'list 'x 'y 'z)
There is no THE equivalent, there is an infinite number of backquote
forms that would be read as an expression evaluating to the same (by
equal) result than (list 'list 'x 'y 'z). Most probably, none of them
would read as (list 'list 'x 'y 'z), at least, the possibility would
depend on the implementation.
Here are four of them, but an infinite number of combinations are
possible:
`(list x y z)
`(,'list ,'x ,'y ,'z)
`(,'list ,@'(x y z))
`(,(intern (symbol-name 'list)) ,@'(x y z))
> Second,
>
> ' = quote
> ` = backquote
> , = ??? in elisp
unquote.
--
__Pascal Bourguignon__ http://www.informatimago.com/
- Re: A small backquote logjam,
Pascal J. Bourguignon <=