I’m surprised that I didn’t know about the ,. construct in Common Lisp’s backquote syntax. It is equivalent to ,@ except that it licenses the implementation to destructively modified the tail of the list being inlined.
cl-user> (defparameter *x* '(1 2 3))
*x*
cl-user> *x*
(1 2 3)
cl-user> `(a b ,@*x* c d)
(a b 1 2 3 c d)
cl-user> *x*
(1 2 3)
cl-user> `(a b ,.*x* c d)
(a b 1 2 3 c d)
cl-user> *x*
(1 2 3 c d)
cl-user>
Then you should not use it with literal values…
Svante – Yup, any destructive operation should be used with due caution.