18 Oct
2021
18 Oct
'21
8:29 a.m.
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.