From: Yukihiro Matsumoto Date: 2005-08-08T17:10:19+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 Mon, 8 Aug 2005 02:36:10 +0900, "Trans" writes: |Irregardless, I do think these two points are sufficiant to make blocks |and lambdas different objects. One object can have more than one |_behavior_ depending on its usage/context. Both of your points are |about behavior differences rather then substance differences. I think |saying they are two diffent things is more confusing than saying they |are one with two different uses. I don't care if they are different object or not. It's an implementation detail we don't talk about yet. The point is (a) we need blocks as they are now. (b) I think we need anonymous functions, which (1) require all argument functionality of method (2) should be terminated by return inside body For (b-1) I now think we need a new syntax for lambdas, not just extend block parameters. In general, block parameters do not need optional arguments, nor keyword arguments. matz.