Not entirely serious: recursive lambda?

Kay Schluehr kay.schluehr at gmx.net
Sun Jul 20 07:44:48 EDT 2008


On 20 Jul., 13:08, bearophileH... at lycos.com wrote:
> Kay Schluehr:
>
> > Sure, use a fixed point combinator. I've just added this recipe:
> >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/576366
>
> Does it work?
>
> Bye,
> bearophile

There are lots of informal derivations of the Y combinator on the web.
I used one a while ago and translated the result into Python. So if
there isn't an implementation bug it shall work.

I added two examples for illustration purposes.



More information about the Python-list mailing list