Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Iterating over unknown sizes - Modular
M
Modular
•
2y 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
)
?
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Iterating over Strings containing Unicode characters?
M
Modular / questions
2y ago
Mojo Binary Sizes?
M
Modular / questions
3y ago
Question about iterating a list of strings
M
Modular / questions
2y ago
What pointer lifetime to use when iterating through a tree?
M
Modular / questions
17mo ago