Anonymous user
Optional parameters: Difference between revisions
→{{header|Common Lisp}}
Line 173:
=={{header|Common Lisp}}==
Common Lisp has both named and positional parameters. The following example shows optional named parameters, using the <code>&key</code> keyword. Optional positional parameters are specified using the <code>&optional</code> keyword.
<lang lisp>(defun sort-table (table &key (ordering #'string<)
|