Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Default argument values for blocks" > on Wed, 12 Oct 2005 06:40:07 +0900, "David A. Black" <dblack / wobblini.net> writes: > > |> foo = ->(foo="bar"){puts foo} > > |Is this definitely going to remain? (Please say no.... :-) > > It is, but appearance may be changed. But I haven't got the better > one. What about either block = lambda(foo = 'bar') { puts foo } # Implicit or block = lambda(foo = 'bar') {|foo| puts foo } # Explicit Or is -> solving an entirely different problem? (If so, would you mind stating the problem again or pointing me to an earlier discussion?) > matz. E