Some of the Common Lisp list and sequence functions can take multiple lists or sequences as their final arguments. For example:
(mapcar #'list '(a b) '(c d) '(e f)) => ((a c e) (b d f))
But if the final arguments are already consolidated into a list/sequence like ((a b) (c d) (e f) ...)
, how can you achieve the same result (as if the list/sequence were spliced into the original function)? Is there a more straightforward approach than writing a macro?
EDIT: I think I've found one way: (apply #'funcall #'mapcar #'list '((a b) (c d) (e f)))
but there may be others.