[alexandria-devel] Re: Review cycle 2: SWITCH, ESCWITCH, and CSWITCH

Tobias C. Rittweiler tcr at freebits.de
Sat Jun 7 11:21:33 UTC 2008


"Nikodemus Siivola" <nikodemus at random-state.net> writes:

> macro switch ((object &key test key) &body clauses)
>   "Evaluates first matching clause, returning its values, or evaluates and
> returns the values of DEFAULT if no keys match."

This really needs a sensible docstring. 

It should explain that it's conceptually similiar to CL:CASE, and then
how it differs.  It should also explain what the :KEY arg does, and why
it's useful. Last, but not least, it should contain one, or two
examples.

  -T.




More information about the alexandria-devel mailing list