A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/067230.html below:

operator on functions

operator on functions operator on functionsJoshua Marshall jmarshal at mathworks.com
Fri Apr 6 12:13:37 EDT 2001
Szalay Zoltan <szz at philoslabs.com> wrote:
> Hi everybody out there!

> It would be a nice feature of Python syntax providing an operator to 
> compose a function from another two:
> h=f*g  . I mean (f*g)(x)=f(g(x).

Though maybe a little thought needs to go into multiple arguments (to f):

  (f*g)(x) => f(g(x))

  -vs-

  apply(f*g, x) => apply(f, apply(g, x))

or some hybrid.

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4