Not entirely serious: recursive lambda?

Kay Schluehr kay.schluehr at gmx.net
Sun Jul 20 03:08:02 EDT 2008


On 20 Jul., 04:43, Michael Tobis <mto... at gmail.com> wrote:

> Can a lambda call itself without giving itself a name?

Sure, use a fixed point combinator. I've just added this recipe:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/576366

> Google was not my friend on this one, and I suspect there is no
> answer.

Even the Great Google can't help if you don't use the right
keywords ;)



More information about the Python-list mailing list