Package: alexandria

Macro appendf

Lambda List

appendf (place &rest lists env)


place -- a form which is suitable for use as a generalized reference.
list -- each must be a proper list except the last, which may be any object.
env -- an environment object

Return Value

a list


Modify-macro for append. Appends lists to the place designated by the first argument place.


(append '(a b c) '(d e f) '() '(g)) => (A B C D E F G)
(setq l '(a b c)) => L
(appendf l '(d e f) '() '(g)) => (A B C D E F G)
 l => (A B C D E F G)