-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remap enumerating/looping RFC #6031
Comments
Just putting this here so I don't lose it again: https://github.com/josevalim/nested-data-structure-traversal Examples of mapping / iteration in a bunch of languages. |
ref #8381 |
Given that arrays have a push capability, could a simple first pass just be
More complicated functions could be built later, but this seems like it would solve a lot of use cases. This would be the For example, to iterate with index
|
Additionally, iterating an object could be accomplished with a tuple object
|
Closing in favor of #8381 |
We need an RFC that obtains consensus on our approach to enumerating/looping in Remap. There are a few open issues that require this (#5377, #5784, #5783, #5852), and we've had a number of discussions floating around (#5852 (comment)). Once we decide on an approach we should update the referenced tickets to reflect it.
Note: this is not blocking 0.12. We will be shipping 0.12 without this feature.
The text was updated successfully, but these errors were encountered: