This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tpleyer
Recipients tpleyer
Date 2019-01-29.22:08:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548799718.5.0.603490291.issue35853@roundup.psfhosted.org>
In-reply-to
Content
The partial function is a typical example of a higher order function: It takes a function as argument and returns a function. As the name of the functools module suggests its purpose is to provide tools for working with  functions. This should, in my opinion, include a much bigger set of higher order function combinators as they are known from functional programming.
As a start I suggest to add the following functions:

identity: The identity function which returns its input
compose: Create a function pipeline (threaded computation)
sequence: Use compose without binding it to a variable
History
Date User Action Args
2019-01-29 22:08:41tpleyersetrecipients: + tpleyer
2019-01-29 22:08:38tpleyersetmessageid: <1548799718.5.0.603490291.issue35853@roundup.psfhosted.org>
2019-01-29 22:08:38tpleyerlinkissue35853 messages
2019-01-29 22:08:38tpleyercreate