ch2_1_backquote
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ch2_1_backquote [2021/04/18 03:25] – created admin | ch2_1_backquote [2022/02/23 05:54] (current) – admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
</ | </ | ||
- | But in backqouted | + | But in backquoted |
<code lisp> | <code lisp> | ||
Line 19: | Line 19: | ||
<code lisp> | <code lisp> | ||
>' | >' | ||
- | (A (UNQUOTE (+ 1 2)) C) ; form (+ 1 2) evaluated | + | (A (UNQUOTE (+ 1 2)) C) ; comma character expanded, but not evaluated |
</ | </ | ||
- | Quote form expects one argument, which is not evaluated, but switched to data and returned as is. For convenience we can use special character '' | + | And multiple backqoutes are ignored: |
<code lisp> | <code lisp> | ||
- | '(a b c) | + | >``(a ,(+ 1 2) c) |
- | (quote (a b c)) ; .. are the same | + | (A 3 C) |
</ | </ | ||
+ | |||
+ | The forms '' | ||
+ |
ch2_1_backquote.1618737903.txt.gz · Last modified: 2021/04/18 03:25 by admin