Not entirely serious: recursive lambda?
Fredrik Lundh
fredrik at pythonware.com
Sun Jul 20 09:43:53 EDT 2008
Michael Tobis wrote:
> I realize that lambda is something of an orphan and was arguably a bad
> idea for anything besides obfuscation, but obfuscation is exactly my
> purpose here. Can a lambda call itself without giving itself a name?
> Google was not my friend on this one, and I suspect there is no
> answer. Relax, I am not going to submit a PEP about it.
gerson kurz' writings on lambdaization might be helpful (or not):
http://www.p-nand-q.com/python/lambdaizing_quicksort.html
http://www.p-nand-q.com/python/stupid_lambda_tricks.html
</F>
More information about the Python-list
mailing list