From: Yukihiro Matsumoto Date: 2005-08-07T23:02:17+09:00 Subject: Re: new block notation (was: Re: ruby-dev summary 26468-26661) Hi, In message "Re: new block notation (was: Re: ruby-dev summary 26468-26661)" on Sun, 7 Aug 2005 01:21:09 +0900, "Trans" writes: |> 2) Methods and Lambdas require specific arguments; Blocks do not. | |That's the ONLY difference between lambdas and blocks? I'm not even |sure what that means. I assume you mean that the "binding" of a block |is to the receiver, whereas for a lambda to the context in which it is |defined? TWO differences. * Methods and Lambdas require specific arguments; Blocks do not. * return in Lambdas terminate the lambda execution; return in Blocks terminate surrounding method, or error if there isn't surrounding method anymore. But I'm not yet sure if I will introduce separated new class: Lambda. matz.