>>>>> "h" == hfulton  <hfulton / pop-server.austin.rr.com> writes:

h> Do you mean that both notations would be available to the
h> programmer, but each block must be one or the other?

 Another possibility is to don't change ruby and have only ||. The
 difference is just to add a warning (only with -w) when ruby see that a
 local variable is re-used in | ... |

 Something like this

pigeon% ruby -e 'x = 1; y = 2; [1].each {|x| y = x } ; p x'
1
pigeon% 

pigeon% ruby -we 'x = 1; y = 2; [1].each {|x| y = x } ; p x'
-e:1: warning: re using local-vars `x'
1
pigeon% 



Guy Decoux