You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess I was looking for something like foreach in the traditional languages, i.e in Java you write for (Foo stuff : stuffs) but I can imagine doing destructuring on stuff. In php you can do the rather handy foreach ($stuffs as $key => $value) which would cover a lot of boring iteration over plists/alists in Elisp as well.
Maybe we could call it -foreach. Or maybe we just don't need it, dunno.
I've implemented this in a pull request, not sure about the naming though. -dolist is natural choice but does not fit with the dash's use of -each for the same concept.
Right now, we need
Could be
Similar like
cl-dolist
with destructuring.Edit: for completeness, here's a version of hypothetical
-dolist
The text was updated successfully, but these errors were encountered: