Conversation

I've just finished this really lovely crate for array like data structure implementors where if you only provide a len() impl and Index<usize> you get a ton of default impls of standard methods for free, like this (and even more for mutable refs):
Image
4
84
But it means the end user will have to import the Array trait explicitly in order to use the extra methods, which in my mind makes it an unacceptable UX obstacle. The reason I even mention it is that I want someone to tell me if I'm wrong and it's actually not a big deal...
3
9
This Tweet was deleted by the Tweet author. Learn more
Yes, but say I implement it for im::Vector, the end user would have to `use array_ops::prelude::*;` just to access most methods on im::Vector, and even though the compiler will notify you about this, it still feels very annoying to me.
2