I'm commenting some code right now, and I'm looking for a word meaning the thing being iterated over. Iterator is an object performing an iteration, but what's the object that the iterator is iterating; the result of one iteration?
I've seen this term used in some scholarly publications online (Google search results that link to pages I don't want to pay to access), but I can't find any etymology or published definition of it.
Hopefully someone else has a more thorough answer.
Update, years later
It looks like at least one language (Chapel) has documentation that uses the term iterand:
Chapel's for-loops (and their parallel counterparts, coforall and forall) can be driven by multiple iterands in a coordinated manner known as zippered iteration. This is expressed using the zip keyword, followed by a parenthesized list of the iterands.
The Java API uses
Iterable as the name of the interface that produces an
Iterator. The docs for
Iterator refer to the object of each iteration as an element.