From: Trans Date: 2005-08-09T03:11:09+09:00 Subject: Re: new block notation (was: Re: ruby-dev summary 26468-26661) Florian Gro� wrote: > Here's my proposal: > > * introduce lambda as a semi-keyword > * if used as "obj.lambda" it is a method call > * if used as "lambda (" or "lambda {" it is a keyword > * else it is a local variable reference > > Where "lambda" can also be replaced with "fun", but I think using lambda > actually makes collisions less likely to happen. (Because somebody might > have done def fun(a) puts a end; fun() {} instead of self.fun() {}) Is it not possible to use "do" in this capacity?