macroexp--accumulate

macroexp--accumulate is a Lisp macro in `macroexp.el'.

(macroexp--accumulate (VAR LIST) BODY...)

Return a list of the results of evaluating BODY for each element of LIST.
Evaluate BODY with VAR bound to each `car' from LIST, in turn.
Return a list of the values of the final form in BODY.
The list structure of the result will share as much with LIST as
possible (for instance, when BODY just returns VAR unchanged, the
result will be eq to LIST).