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!
Hi! I'm curious about the wording of this guideline. Suggesting
dolistmakes sense to me, but:Why
seq-doovermapc?seqisn't immediately available without loadingseq, butmapcis.If it's because
seq-dois more generic, why offermapcaras an alternative instead of the similarly genericseq-map?Thanks for your time!