Suppose x is an instance of a class with the iterator method installed and suppose iter is the output of iterator x. Then a new Iterator object is returned whose next method returns f next iter until next iter returns StopIteration, in which case this new iterator does the same.
|
|
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/apply-doc.m2:126:0.