[rust-dev] Destructuring let and for bindings are available

2011-08-03 Thread Marijn Haverbeke
Yesterday's snapshot made it safe to start using destructuring patterns in let, for, and for each. I also fixed a few bugs that prevented for and for each from properly deriving a type for the loop variable when you didn't specify one. The happy result is that you can now do things like this:

Re: [rust-dev] Are tail calls dispensable?

2011-08-03 Thread Graydon Hoare
On 11-08-01 07:45 PM, Rafael Ávila de Espíndola wrote: On 11-08-01 10:18 AM, Marijn Haverbeke wrote: Ah, I see what you mean now. But this kind of rewriting requires knowledge of the tail-called function (which may be in another module, or passed in by value), and a bunch of extra complexity.