Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a polyadic function?

Tags:

arguments

There's no clear definition for a polyadic function on the internet. Please help me with a clear definition. On the other hand, there is some information about variadic functions available. Variadic functions mean that they take a variable number of arguments and apparently, such functions are supported by C.

like image 206
BlackSwan Avatar asked Jun 04 '26 13:06

BlackSwan


1 Answers

Adic stands for number of arguments. So poly + adic means multiple number of arguments that a function can take. It will have more than 1 argument. In python you can define the arguments where you declare it. Hope that helps.

Arithmetic functions in LISP language are polyadic. ie, they can take multiple arguments.