ModularM
Modular2y ago
2 replies
roboquant

Iterating over unknown sizes

Mojo iterators use the size and not an exception to indicate the end of an iterator.
Is it still somehow possible to iterate over collections that don't have an upfront known size (like streams of data) ?
Was this page helpful?