variadic
English
WOTD – 10 September 2011, 10 September 2012, 10 September 2013, 10 September 2014
Etymology
Pronunciation
- (US) IPA(key): /vɛɹiˈædɪk/
- (Received Pronunciation) IPA(key): /vɛəɹiˈædɪk/
Audio (Southern England): (file)
- Rhymes: -ædɪk
Adjective
variadic (not comparable)
- (programming, mathematics, linguistics) Taking a variable number of arguments; especially, taking arbitrarily many arguments.
- C's printf is one of the most widely used variadic functions.
- 1983, Alan Bundy, The Computer Modelling of Mathematical Reasoning[1], Academic Press, page 48:
- There are some functions and predicates which we tend to think of as being able to take any number of parameters – of being of variable arity or variadic.
- 2004, François Récanati, Literal Meaning[2], Cambridge University Press, →ISBN, page 109:
- The variadic functions that increase the valence of the input relation through the addition of a circumstance to the set of its argument-roles can be represented by means of an operator (or rather, a family of operators) ‘Circ’.
- 2006, Nils M. Holm, Sketchy LISP: An Introduction to Functional Programming in Scheme[3], 2nd edition, Lulu.com, →ISBN, page 53:
- However, the real max procedure of Scheme is a variadic procedure, which means that it accepts any positive number of arguments: ¶ (max 5 1 3 8 9 7 2 6 4) => 9
- (programming) Belonging to a variadic function.
- each variadic argument
Translations
taking a variable number of arguments
See also
Noun
variadic (plural variadics)
- (programming) A function that takes a variable number of arguments.
- 2017, Andrew Beak, PHP 7 Zend Certification Study Guide, page 44:
- PHP 5.6 introduced variadics that explicitly accept a variable number of parameters.