On 2/1/13 11:48 AM, Erick Tryzelaar wrote:
FYI, I'm in the process of converting fun_treemap into an AA Tree and
implement much of the container traits. In the process, I've extracted
out the mutation functions from Map and Set into their own
"Mutable{Map,Set}" trait, and added "Immutable{Map,Set}" traits for
persistent types. So please talk to me before any of you start
handling the mutable/persistent type issue.
Is it necessary to differentiate Mutable- and Immutable- container
traits when mutating methods would take `&mut self` and read-only
accessors take `&self`?
chris
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev