Iterators and Enumerables #12
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods!12
Loading…
Reference in a new issue
No description provided.
Delete branch "enums"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #8
Iterator
Added stateful iterator to all ordered containers:
Excluded unordered containers:
Two different types of iterators:
Example:
Enumerable
Added enumerable to:
Two different types of enumerables:
Enumerable is Ruby inspired and supports for now the following functions:
Example EnumerableWithIndex:
Example EnumerableWithKey: