fn | function that takes as many arguments as there are lists |
lists | lists which elements are processed in parallel |
MAPLIST applies function FN to the successive cdr of lists. Each application result is concatenated into resulting list. See MAPCAR, MAPCAN, MAPCON, MAP, MAPC.
(maplist (lambda (x) (list 'start x 'end)) '(1 2 3 4)) => ((START (1 2 3 4) END) (START (2 3 4) END) (START (3 4) END) (START (4) END))