[New-bugs-announce] [issue35853] Extend the functools module with more higher order function combinators
Tobias Pleyer
report at bugs.python.org
Tue Jan 29 17:08:38 EST 2019
New submission from Tobias Pleyer <tobi.pleyer at gmail.com>:
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
----------
components: Library (Lib)
messages: 334536
nosy: tpleyer
priority: normal
severity: normal
status: open
title: Extend the functools module with more higher order function combinators
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35853>
_______________________________________
More information about the New-bugs-announce
mailing list