Apply - Programming - Apply Function

Apply Function

Apply is also the name of a special function in many languages, which takes a function and a list, and uses the list as the function's own argument list, as if the function were called with the elements of the list as the arguments. This is important in languages with variadic functions, because this is the only way to call a function with an indeterminate (at compile time) number of arguments.

Read more about this topic:  Apply, Programming

Famous quotes containing the words apply and/or function:

    No two men see the world exactly alike, and different temperaments will apply in different ways a principle that they both acknowledge. The same man will, indeed, often see and judge the same things differently on different occasions: early convictions must give way to more mature ones. Nevertheless, may not the opinions that a man holds and expresses withstand all trials, if he only remains true to himself and others?
    Johann Wolfgang Von Goethe (1749–1832)

    Our father has an even more important function than modeling manhood for us. He is also the authority to let us relax the requirements of the masculine model: if our father accepts us, then that declares us masculine enough to join the company of men. We, in effect, have our diploma in masculinity and can go on to develop other skills.
    Frank Pittman (20th century)