You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the doc is wrong, probably some old implementation.
Actually an iterator is just a function that returns the next value each time you call it and raises a "stop_iteration" exception when there are no more values. You can consider an iterator as a generator function, which is generally implemented as a closure to capture state.
as a noobie i rely on the documentation to understand and use berry language.
the port for the iter-methods (on list-elements). is a little short.
could you add wich methods are available and how to use them on iter-instances?
i found some snippets about that here with the for-loop, but would be nice to have it in the wiki.
what do you think?
The text was updated successfully, but these errors were encountered: