> What you are describing is very, very dissimilar to currying. It's simply 
> multi-argument functions with a different call syntax.

It is almost identical to currying, the only differences are:
1. the intermediate return being an object with an attribute (rather than a new 
function) that you call.
2. the names of the attributes from 1 (which aren't a thing otherwise) are 
declared when defining the initial function

> It's not even close to worthwhile to have special syntax for rare cases.

It would make sense for a huge number of functions, its just not a natural way 
to consider writing them because the syntax doesn't exist e.g. almost any 
boolean function makes sense this way.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/FJWSTADJE76BVS5XSSNIS2OKRDYDSANX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to