Florian Frank <flori / nixe.ping.de> wrote:
> Try the 1.9 cvs version:
> 
> irb(main):001:0> a = lambda { |x| x * 2 }
> => #<Proc:0xb7c6118c@(irb):1>
> irb(main):002:0> a(1)
> => 2
> irb(main):003:0> a 1
> => 2

Very sweet. How does this work, internally? Have lambdas been
specialcased at the interpreter level?

martin