See also List::Comprehensions.
In reply to Re: loop over n-dimensional lattice by BrowserUk in thread loop over n-dimensional lattice by 0AP0