[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: append, push, and add-to-list.
From: |
Emanuel Berg |
Subject: |
Re: append, push, and add-to-list. |
Date: |
Mon, 05 Jul 2021 20:18:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I think I'll change them to `(,@())
Backquote is a Lisp macro tho.
Love the docstring BTW: [I fixed the align for the purpose of
this message]
[...]
For example:
b => (ba bb bc) ; assume b has this value
`(a b c) => (a b c) ; backquote acts like quote
`(a ,b c) => (a (ba bb bc) c) ; insert the value of b
`(a ,@b c) => (a ba bb bc c) ; splice in the value of b
"For example" - isn't that exactly, and all, it does?
OK, well, ,b can be _evaluated_ as well, not just inserted as
a value, I guess, that's what they mean?
`(1 2 ,(format "%s %s!" "Sail" "Ho") 4) => (1 2 "Sail Ho!" 4)
--
underground experts united
https://dataswamp.org/~incal
- Re: append, push, and add-to-list., (continued)
- Re: append, push, and add-to-list., Stefan Monnier, 2021/07/05
- RE: [External] : Re: append, push, and add-to-list., Drew Adams, 2021/07/05
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list., Jean Louis, 2021/07/06
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/06
- Re: append, push, and add-to-list., tomas, 2021/07/05
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list., tomas, 2021/07/05
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list.,
Emanuel Berg <=
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list., Stefan Monnier, 2021/07/05
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/05
- Re: append, push, and add-to-list., Jean Louis, 2021/07/06
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/06
- Re: append, push, and add-to-list., Jean Louis, 2021/07/06
- Re: append, push, and add-to-list., Emanuel Berg, 2021/07/06
- Quote by Knuth, Jean Louis, 2021/07/06
- Re: Quote by Knuth, Emanuel Berg, 2021/07/06
- Quote by Knuth, Christopher Dimech, 2021/07/06