-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol
Description
Another issue that has come up during the Query.jl design: I have a whole bunch of iterators that know their length after the start method has been called.
Would it be possible to add another return value to iteratorsize that is HasLengthAfterStart(), and if a type returns that it has to implement length(source, state)?
Metadata
Metadata
Assignees
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol