-
Notifications
You must be signed in to change notification settings - Fork 21
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
Try out some collection traits #107
Comments
I'm working on some map stuff for this, inspired by @gankro's post Replace Most of the Collections API with ranges and iterators. |
One issue with my proposal of having a Get/Remove/Insert traits is that the semantics for remove and insert are different for Maps and Sequences. Panic vs Option. |
See https://github.com/apasel422/eclectic. This is very much a work in progress, and there are certain bugs with associated types that are preventing me from organizing this exactly the way I want. I opted to separate mutable functionality into separate traits, though there is an argument to be made for combining them. I will be adding additional constraints for indexing and iteration (all three modes) in the future. I also need to figure out a solution to the iterator discrepancy between maps like |
rust-lang/rust#20671 is also holding things up. |
No description provided.
The text was updated successfully, but these errors were encountered: