Assertion: function | /r/CapableOf | take argument
Facets:
value: in most programming languages
type: OTHER
value: a result
type: MANNER
Source sentences:
text: In that example, f is the name of a function; that function takes an argument called x, which is a number, and returns some other number.
text: This function, taking two arguments, is specific to Transact-SQL.
text: If a function takes in arguments, we can write something like
text: It is common to say that a function "takes" an argument and "returns" a result.
text: This function takes three arguments, of which the last one has a default of twelve.
text: Currying is a transformation that can be applied to functions to allow them to take one less argument than previously.
text: In most programming languages, functions may take one or more arguments.
text: Some functions take more than one argument.
text: If a function takes no arguments, it must still include the parentheses, but without anything in them:
text: A function can be called by appending the arguments in parentheses to the function name, or an empty matched set of parentheses if the function takes no arguments.
text: We've previously said that a function can take no arguments, or can return nothing, or both.
text: What about a function that takes no arguments?
text: This function takes two arguments, concatenates them, and then prints the result twice.