Skip to content
Snippets Groups Projects
Commit d44f543c authored by Philipp Marek's avatar Philipp Marek
Browse files

Merge branch 'fix-switch-docstring' into 'master'

Correct the documentation string of the SWITCH macro

See merge request alexandria/alexandria!8
parents 50d66980 5b11bd78
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ like #'eq and 'eq."
(defmacro switch (&whole whole (object &key (test 'eql) (key 'identity))
&body clauses)
"Evaluates first matching clause, returning its values, or evaluates and
returns the values of DEFAULT if no keys match."
returns the values of T or OTHERWISE if no keys match."
(generate-switch-body whole object clauses test key))
(defmacro eswitch (&whole whole (object &key (test 'eql) (key 'identity))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment