[Python-Dev] Serial function call composition syntax foo(x, y) -> bar() -> baz(z) (original) (raw)

Guido van Rossum guido at python.org
Sat Feb 18 01:03:20 CET 2006


It's only me that's allowed to top-post. :-)

On 2/17/06, Bengt Richter <bokr at oz.net> wrote:

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 >


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/guido%40python.org

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list