Package: alexandria

Macro nconcf

Lambda List

nconcf (place &rest lists env)

Arguments

place -- a form which is suitable for use as a generalized reference.
lists -- each but the last must be a list (which might be a dotted list but must not be a circular list); the last list may be any object.
env -- an environment object

Return Value

a list

Details

Modify-macro for nconc. Concatenates lists to place designated by the first argument.

Examples

(setq list1 (list 1 2 3)) => (1 2 3)
(setq list2 (list 4 5 6)) => (4 5 6)
(nconcf list1 list2 (list 7 8 9)) => (1 2 3 4 5 6 7 8 9)