PEP 309 (Partial Function Application) Idea

Giovanni Bajo noway at sorry.com
Sun Jan 15 19:34:32 EST 2006


bonono at gmail.com wrote:

> Since python has named parameter(and I assume this PEP would support
> it as well), is it really that useful to have these place holder things
> ?

Probably not so much, you're right.

> As when the parameter list gets long, named param should be easier to
> read.
>
> The only case I find it useful is for binary ops where I would like to
> either bind the left hand side or the right hand side but that can be
> handled easily with a "flip" function as in haskell.

I'm not sure I'd like a specialized flip function, compared to the numbered
placeholders solution.
-- 
Giovanni Bajo





More information about the Python-list mailing list