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.
Description
An interface that describes an object as capable of iteration. It would require the implementor to have a method
nextthat 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.