scala-library-next icon indicating copy to clipboard operation
scala-library-next copied to clipboard

Unable to call .iterator on an IterableOnceOps value

Open julienrf opened this issue 6 years ago • 1 comments

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.

julienrf avatar Aug 12 '19 16:08 julienrf

this is a good candidate for scala/scala-library-next

NthPortal avatar Oct 08 '20 03:10 NthPortal