Better HN
topnewbestaskshowjobs
Log inSign up

zgamy

1 karma · joined Jan 14, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

But is that closer to math notation as claimed in this thread?

https://en.wikipedia.org/wiki/Argument_of_a_function

"For example, the binary function f(x, y) = x + y has two arguments, x and y, in an ordered pair (x, y)."

So, function application to an ordered pair, i.e., a tuple, does not use double parentheses. Also, of course, currying in Python is atrocious.