Skip to content
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

Nicer way to get multiple foreaches #7

Open
theodox opened this issue Jan 7, 2017 · 0 comments
Open

Nicer way to get multiple foreaches #7

theodox opened this issue Jan 7, 2017 · 0 comments

Comments

@theodox
Copy link
Owner

theodox commented Jan 7, 2017

I see a lot of applications like this:

Meshes().foreach( lambda p: using (p).get(Connections))

where you want to do a minq expansion in a foreach loop. the lambda(p): using(p).get.... is boilerplate.

Maybe add a proxy class called each which swapped in the boilerplate?

PROPOSED

Meshes().foreach(each.get(Connections))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant