On 12/21/11 6:59 AM, Marijn Haverbeke wrote:
Sorry, I meant wildcard bindings at the top level of a match only.
We've been thinking down the road of making binders at the top of a
pattern special a few times, but as you say, that'd cause
inconsistency and probably make things even more confusing than they
are now.
A good summary of the previous discussion is here:
https://github.com/graydon/rust/wiki/Syntactic-issues-in-pattern-matching
Specifically "How to distinguish variables from tags."
Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev