As brought up in this issue comment at the janet repository, what counts as an iterable seems a bit on the vague side.
One idea is to:
provide a definition and perhaps some examples.
One option regarding location is:
it could make sense to add something where indexed, dictionary, and bytes are defined - the data structures page.
Another is:
to modify the looping page and link to it from the aforementioned data structures page.
Perhaps there are even better ideas.
Update: Another idea is to not introduce a new definition and instead be explicit about which types are involved. That is the approach being suggested in this PR.
Regarding what counts as an iterable, please see the aforementioned comment for some hints and details.
As brought up in this issue comment at the janet repository, what counts as an iterable seems a bit on the vague side.
One idea is to:
One option regarding location is:
Another is:
Perhaps there are even better ideas.
Update: Another idea is to not introduce a new definition and instead be explicit about which types are involved. That is the approach being suggested in this PR.
Regarding what counts as an iterable, please see the aforementioned comment for some hints and details.