matz / zetabits.com (Yukihiro Matsumoto) writes:

> For example:
> 
>   lambda{<a,b,c|d,e,f> ...}
>   # a,b,c as parameters.
>   # d, e, f for local variables valid during the block.

Seems like the best of both worlds (except you'd probably need a
character other than '|' as the separator, for the case where you want 
non-local parameters but local variables.

   lambda { <a,b % c, d> ... }   local params and local vars

   lambda { |a,b % c, d| ... }   current params and local vars


Regards



Dave