[alexandria-devel] PROG1-LET

Tobias C. Rittweiler tcr at freebits.de
Mon Oct 27 19:52:30 UTC 2008


Volkan YAZICI <yazicivo at ttmail.com> writes:

> Hi,
>
> Do alexandria developers consider including PROG1-LET? (I find it quite
> useful, and it is included in the very early lines of nearly every of my
> utils.lisp files.)
>
>   (defmacro prog1-let ((var val) &body body)
>     `(let ((,var ,val))
>        , at body
>        ,var))

I know from experience that this scheme comes up occasionally, but I
think it's an abuse of macros. It's purely a syntactic abbreviation that
does neither save much typing nor does the name improve readability.

  -T.





More information about the alexandria-devel mailing list