On Sat, 1 Feb 2014, Corey Richardson wrote:
On Sat, Feb 1, 2014 at 5:53 PM, Scott Lawrence <[email protected]> wrote:
and so the syntax was quite obvious for beginners. The extra complexity of
forall kills this. Of course, one could write
forall<T:K,L> struct Foo<T> {
but that's just ugly.
Unrelated but struct declarations can't have bounds.
Bah of course. Just trying to point out that the bounds would only need to be
used in the first parameter set.
I think it's a pretty good idea anyway, if the loss of concision is considered
acceptable.
I don't have a
good way to re-unify the syntax declaration and use..
--
Scott Lawrence
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev