Radiance icon indicating copy to clipboard operation
Radiance copied to clipboard

Feature: Iterable interface

Open shortercode opened this issue 5 years ago • 0 comments

Description

An interface that describes an object as capable of iteration. It would require the implementor to have a method next that emits an Optional value. A value of None would indicate the end of the iterator.

Many default methods could be defined to make this interface helpful, Rust is good prior art to refer to in this case.

shortercode avatar Aug 28 '20 13:08 shortercode