in reply to Re^3: loop over n-dimensional lattice
in thread loop over n-dimensional lattice
No. A::L::NestLoops provides an iterator; List::Comprehensions takes a callback.
While NestedLoops does provide an iterator, it also accepts a callback.
ormy $iter = NestedLoops(\@loops);
NestedLoops(\@loops, \&callback);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: loop over n-dimensional lattice
by BrowserUk (Patriarch) on Aug 06, 2008 at 01:15 UTC |