[Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
Bengt Richter
bokr at oz.net
Sat Feb 18 01:02:15 CET 2006
Is that a record? ;-)
BTW, does python-dev have different expectations re top-posting?
I've seen more here than on c.l.p I think, so I'm wondering what to do.
When-in-Rome'ly,
Regards,
Bengt Richter
On Fri, 17 Feb 2006 14:17:41 -0800, "Guido van Rossum" <guido at python.org> wrote:
>Cut to the chase: -1000.
>
>On 2/17/06, Bengt Richter <bokr at oz.net> wrote:
>> Cut to the chase: how about being able to write
>>
>> baz(bar(foo(x, y)),z)
>>
>> serially as
>>
>> foo(x, y) -> bar() -> baz(z)
>>
>> via the above as sugar for
>>
>> baz.__get__(bar.__get__(foo(x, y))())(z)
>>
>> ?
>
>--
>--Guido van Rossum (home page: http://www.python.org/~guido/)
>_______________________________________________
>Python-Dev mailing list
>Python-Dev at python.org
>http://mail.python.org/mailman/listinfo/python-dev
>Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.gmane.org
>
More information about the Python-Dev
mailing list