[alexandria-devel] destructuring-case
Nikodemus Siivola
nikodemus at random-state.net
Fri Mar 30 15:10:08 UTC 2012
On 20 March 2012 22:34, Jasper <o.jasper at gmail.com> wrote:
> The `destructuring-case` macro imo is a little different than I would
> think it would be upon just hearing the name.
The current form of it is AFAIK the "classic" interpretation -- and
yeah, changing it now is a bit late.
Typical use case is a eg. parsing macro options:
(defmacro deffoo (&body options)
(dolist (option options)
(destructuring-case option
(:foo ...)
(:bar ...)
(:quux ...))))
Cheers,
-- nikodemus
More information about the alexandria-devel
mailing list