Calls function and returns the values that function returns. The arguments supply the arguments to function. All but the last of arguments are passed to function individually. The last of arguments must be a sequence. This sequence is not passed as a single argument to function. Instead, its elements are taken individually as arguments to function.
apply(max, list(3, 1, 4, 1, 5, 9))
⇒ 9
apply(min, 5, 7, list(3, 1, 4))
⇒ 1
define constant make-string =
method (#rest init-args) => string :: <string>;
apply(make, <string>, init-args)
end;
make-string(fill: 'a', size: 10)
⇒ "aaaaaaaaaa"
Exported from
Arguments
Values