On Fri, Jul 31, 2009 at 6:25 PM, Chris Rebert <c...@rebertia.com> wrote:
> I believe "full" anonymous functions was intended by the author. > lambdas are limited to a single expression. "Full" anonymous functions > would be allowed to contain multiple statements. > > Cheers, but what about this: def goBig(x): while True: x = x ** 2 yield x for result in goBig(10): if result > 10 ** 100: break print result It's a silly example, but wouldn't goBig(10) in this example be a "full anonymous function"? Just being curious.
-- http://mail.python.org/mailman/listinfo/python-list