PEP318 alternate syntax idea

Peter Harris scav at blueyonder.co.uk
Tue Mar 23 14:46:25 CET 2004


Ville Vainio wrote:

> d = functional.compose([d1,d2,d3])
> 
> Which just needs the not-yet-implemented 'functional' module :-).
> 

Well, PEP 309 has been submitted for review, so with any luck (since 
it's not very controversial) we'll have somewhere to put compose().

But I only asked for partial(). Someone else can propose how to do The 
Right Thing for function composition ;)

Peter Harris



More information about the Python-list mailing list