ch2_1_unquote
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ch2_1_unquote [2021/04/19 16:15] – admin | ch2_1_unquote [2022/02/25 01:47] (current) – admin | ||
---|---|---|---|
Line 6: | Line 6: | ||
>(setq b 3) ; set value of symbol B | >(setq b 3) ; set value of symbol B | ||
3 | 3 | ||
- | >`(a ,b c) ; unquoted | + | >`(a ,b c) ; unquoted |
(A 3 C) ; symbols A and C are not evaled, but B is | (A 3 C) ; symbols A and C are not evaled, but B is | ||
</ | </ | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | If the evaluated element results in list, with unquoting it becomes sub-list of the backqouted list: | + | If the evaluated element results in list, with unquoting it becomes sub-list of the backqouted list. |
<code lisp> | <code lisp> | ||
Line 30: | Line 30: | ||
</ | </ | ||
- | See splice-unquote for further refinement. The forms BACKQUOTE, UNQUOTE and SPLICE-UNQUOTE are useful for writing macros. | + | Important is that if we unqoute pre-existing list, this original list will become sublist, not a copy. '' |
+ | |||
+ | See splice-unquote for further refinement. The forms '' | ||
ch2_1_unquote.1618870527.txt.gz · Last modified: 2021/04/19 16:15 by admin