[pro] About &aux

Ala'a Mohammad amalawi at gmail.com
Mon Jun 13 06:49:31 UTC 2011


On Sun, Jun 12, 2011 at 7:08 PM, Faré <fahree at gmail.com> wrote:
> Also, binding forms are annoying in that they are verbose
> and move the body to the right as you nest them.
> Instead of any ad-hoc do-it-all binding macro,
> I like this macro from Marco Baringer that does nesting for you:
>
> (defmacro with-nesting ((&key) &rest things)
>  (reduce #'(lambda (outer inner) (append outer (list inner)))
>          things :from-end t))

Is there anything that with-nesting can do, where let* or 'proper
abstraction' outside the binding form (with defun, macros, labels,
flet, etc)  can not do? It would be helpful/educational if an example
was provided.

Regards,

- Ala'a




More information about the pro mailing list