Adding the list for Evan's benefit. :) >> On Fri, Mar 28, 2014 at 10:21 AM, Evan G <eg1...@gmail.com> wrote: >> > Sorry, I didn't see your message about an n-bit integer type. It sounds >> > like >> > a great solution! I was just responding to the "warrant a core feature". >> > I'm >> > just saying it doesn't really need to be a feature per say, but rather a >> > part that "just works" the way you'd expect it to.
> On Mar 28, 2014 10:30 AM, "Peter Marheine" <pe...@taricorp.net> wrote: >> >> (Did you mean to send this to the list?) >> >> I think my "core feature" wording was a bit too strong; bitfield >> extraction is useful enough to be provided in core libraries, but I'm >> not convinced overloading indexing on integral types is a good approach >> since it changes the semantics of the index operator. On Fri, Mar 28, 2014 at 1:22 PM, Evan G <eg1...@gmail.com> wrote: > Frick that's the second time I've done that today. Sorry, I'm used to lists > that have their reply-to set to the list address. > > I'm not really a great fan of that syntax either, but I do think Rust should > "do the right thing" when it comes to match arms and bitmasks, and I think > n-bit integers is a solid way to implement that. Yes, I agree that it's worth looking into such a feature further. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev