new python syntax: concatenation of functions

Jeff Epler jepler at unpythonic.net
Thu Mar 11 10:52:04 EST 2004


On Thu, Mar 11, 2004 at 07:25:01AM -0800, Michele Simionato wrote:
> This is not useless, but does not require new notations. Just use
> callable objects instead of functions and overload "*" to denote
> composition.

What about instances which already support __mul__ and __call__, a
combination that is perfectly legal today?

Jeff




More information about the Python-list mailing list