Use seq-do or dolist instead of mapcar if you don’t intend to concatenate the result.
Hi! I'm curious about the wording of this guideline. Suggesting dolist
makes sense to me, but:
-
Why seq-do
over mapc
? seq
isn't immediately available without loading seq
, but mapc
is.
-
If it's because seq-do
is more generic, why offer mapcar
as an alternative instead of the similarly generic seq-map
?
Thanks for your time!