[Python-ideas] Syntax for curried functions

Leif Walsh leif.walsh at gmail.com
Wed Mar 4 01:37:33 CET 2009


On Mon, Mar 2, 2009 at 7:22 PM, Weeble <clockworksaint at gmail.com> wrote:
> Thank you, at least I feel a little less foolish now. I did try to
> search for such a proposal, but it's hard to know what search terms to
> use. To be honest I don't think it's generally useful enough to merit
> a change to the language, but somehow the idea floated into my head
> and it just seemed so *neat* that I had to tell somebody. It may be
> that it just appeals to my sense of aesthetics.

If it makes you feel better, you can still get almost all of the way there with decorators, and it's even "officially" documented: http://wiki.python.org/moin/PythonDecoratorLibrary#Pseudo-currying

-- 
Cheers,
Leif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 270 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090303/4a4c9309/attachment.pgp>


More information about the Python-ideas mailing list