Calling functions: Difference between revisions

From Rosetta Code
Content added Content deleted
(This duplicates Call a function. {{DeprecatedTask}})
(Merge to Call a function per deprecate flag)
Line 4: Line 4:


* This task is a '''duplicate''' of [[Call a function]]. Please add new examples to [[Call a function]], not to this page.
* This task is a '''duplicate''' of [[Call a function]]. Please add new examples to [[Call a function]], not to this page.

=={{header|Smalltalk}}==
Where f is a closure and arguments is an array of values for f to operate on.
<lang smalltalk>f valueWithArguments: arguments.</lang>

Revision as of 18:01, 29 March 2013

Calling functions was a programming task. It has been deprecated for reasons that are discussed in its talk page.

Sometimes you want to call functions on arguments, and both are defined at runtime, or by user code.