[Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
Guido van Rossum
guido at python.org
Fri Feb 17 23:17:41 CET 2006
More information about the Python-Dev mailing list
Fri Feb 17 23:17:41 CET 2006
- Previous message: [Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
- Next message: [Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
- Next message: [Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list