Subject: Local variables in lambda
From: "List.rb" <list.rb gmail.com>
Date: Wed, 29 Oct 2008 21:24:35 +0900
Hi. Is there a way to create a lambda that references local variables
not yet defined ( with out pawing them to the prod) ?
I.e.
x = lambda {a+b}
a = 1
b = 2
c = x.call
Thank you