Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImMap and ImHashMap should provide enumeration without IEnumerable #26

Closed
dadhi opened this issue Nov 13, 2019 · 1 comment
Closed

ImMap and ImHashMap should provide enumeration without IEnumerable #26

dadhi opened this issue Nov 13, 2019 · 1 comment
Assignees
Milestone

Comments

@dadhi
Copy link
Owner

dadhi commented Nov 13, 2019

What we often need is invoking some method or delegate for each map element. We don't need a separate data structure for this - we may just pass the delegate to the iteration method. The cast of delegate creation usually is much smaller than support for IEnumerable/IEnumerator implementation.

@dadhi dadhi self-assigned this Nov 13, 2019
@dadhi dadhi added this to the 2.0.0 milestone Nov 13, 2019
@dadhi dadhi changed the title ImMap and ImHashMap should provide enumeration with IEnumerable ImMap and ImHashMap should provide enumeration without IEnumerable Nov 13, 2019
@dadhi
Copy link
Owner Author

dadhi commented Jan 9, 2020

the Fold and Visit methods are added

@dadhi dadhi closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant