From: Austin Ziegler Date: 2005-08-10T22:43:20+09:00 Subject: Re: new block notation (was: Re: ruby-dev summary 26468-26661) On 8/9/05, Trans wrote: > You could still use the brakets: > double = do(x){ x*2 } > That would mean 'do' == '-> '. > > But if you ask me, it's all gotten pretty heinous. Why not try > somthing a little more common sensical: > double(x) = { x*2 } Hmm. But that doesn't allow for clean, anonymous lambdas. I see where this is coming from, even though I don't think it's something that I'd use that much, and though I don't think that the various forms proposed so far are clean. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca