From: "David A. Black" Date: 2005-10-12T11:01:06+09:00 Subject: Re: Default argument values for blocks Hi -- On Wed, 12 Oct 2005, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Default argument values for blocks" > on Wed, 12 Oct 2005 10:13:31 +0900, "David A. Black" writes: > > |I definitely think a keyword would be better than -> . > > Maybe. Some prefer verbosity to clarity. So what keyword you think > "the best"? In this case I think verbosity *is* clarity :-) The -> thing really has a "line-noise" quality that looks very out of place to me. I could imagine using the lambda modification posted earlier: block = lambda(a,b=1) { ... } for those few times when this would be necessary. Another idea, since I think at least 99% of this is about define_method, would be to make some kind of special case treatment for define_method. But I can't think of a good way to do that. David -- David A. Black dblack@wobblini.net