[cdr-discuss] Three RFCs
Leslie P. Polzer
leslie.polzer at gmx.net
Tue Mar 18 10:08:45 UTC 2008
Dear Gary,
> doesn't leave much room for options. Are you thinking of something like
>
> (defmacro my-case ((it &key test key) &body clauses) ...)
>
> so that it would look like
>
> (my-case (thing :test 'foo)
> (<case1> <form1>)
> ...
> )
Yes, something like that.
Of course, the best solution would consist of being able to say just
(case thing :test #'equal
(<case1> <form1>)
(...))
but I believe the macro lamda list syntax won't let us.
Leslie
More information about the cdr-discuss
mailing list