Skip to content

Iterable documentation appears lacking #315

Description

@sogaiu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions