The bike shed rumbles onwards..
On 19/05/2011 9:17 AM, Brendan Eich wrote:
I think [10 int] reads well. Can the constant expression sub-grammar compose
this way?
Not for complex exprs, no. Literals would, but that's clearly not enough.
More likely [int, 10] or [int ^ 10] as erckt suggested would work. I
think I like the former a bit more, and we already have a sort of
wrestling act to do with interpreting , subject to its current enclosing
type-or-value constructor ( [], (), fn() or { }, it means different things).
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev