(Not sure if anyone cares about my opinion, but: if apostrophes are a
given, the braces of "option 8" aren't obviously preferable to me any
more. The appeal of option 8 was that it visually distinguished
lifetime parameters, and just overall looked nice, gave the right
impression. With apostrophes the lifetimes are already distinguished
by the apostrophes, and it no longer looks as nice. It's not clearly
better to me than angle brackets with a consolidated lifetime + type
parameter list. So if I had a vote, I would probably cast it for the
latter, because at least it's simpler.)

On Thu, Jan 31, 2013 at 1:54 PM, Sanghyeon Seo <[email protected]> wrote:
> UtherII on Reddit /r/rust suggested an idea I like:
>
> &{'lt} T
> T{'lt}
>
> Basically "option 8" of 
> http://smallcultfollowing.com/babysteps/blog/2012/12/30/lifetime-notation/
> with ' from 
> https://mail.mozilla.org/pipermail/rust-dev/2013-January/002942.html
>
> This does need a lookahead but as far as I can tell unambiguous and 
> manageable. More on:
> http://www.reddit.com/r/rust/comments/17ka3b/meeting_weekly_20130129_region_syntax_impl_type/c86t7wg
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev



-- 
Your ship was destroyed in a monadic eruption.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to