Skip to content

Unable to call .iterator on an IterableOnceOps value #9

Open
@julienrf

Description

@julienrf

See this contributors discussion for the motivation.

In summary, using IterableOnceOps would make it possible to write code polymorphic to Iterable or Iterator, but methods defined by IterableOnce (such as iterator) are not available on IterableOnceOps values.

We should add abstract definitions of the methods declared in IterableOnce, to the IterableOnceOps type.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions