On 10/18/21 6:29 AM, Mathew Elman wrote:
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
Citations, please? It's your idea, so it's on you to come up with supporting evidence.
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.
Again, a example list of functions would help -- if there are truly a huge number of them then giving us 10 to 20 shouldn't be hard. -- ~Ethan~