theodox/minq

Nicer way to get multiple foreaches

Opened this issue · 0 comments

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))