On Wed, Jun 12, 2002 at 07:18:22AM +0900, Hal E. Fulton wrote:
> I still wish we could use something other than <> for the 
> new notation. At the least I'd prefer something that didn't
> balance left-right (as || doesn't). But we run out of 
> punctuation, don't we? On American non-APL keyboards, 
> anyway.

How about a third section, using the same delimiter:

(1..10).each do |a|b|
	# b is local
end

It maintains backwards compatibility, too, because the locals section is
optional.

Only weird case is when you have exclusively locals:
5.times do ||b|
	# ...
end

but that isn't so bad, really...

-- 
      Evan Martin
martine / cs.washington.edu
  http://neugierig.org