[Python-Dev] Partial function application 'from the right'

scav at blueyonder.co.uk scav at blueyonder.co.uk
Fri Jan 30 15:57:04 CET 2009


Hi all,

> On Thu, Jan 29, 2009 at 6:12 AM, Ben North <ben at redfrontdoor.org> wrote:
>> Hi,
>>
>> I find 'functools.partial' useful, but occasionally I'm unable to use it
>> because it lacks a 'from the right' version.
>

-1

For me, the main objection to a partial that places
its stored positional arguments from the right is
that you don't know which positions those arguments
will actually occupy until the partial is called.

Who *really* thinks that would be a neat feature? There's probably a
reason why Haskell doesn't do
this...

Peter Harris




More information about the Python-Dev mailing list