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)) ,@body ,var))
Regards.
Volkan YAZICI yazicivo@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)) ,@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.
alexandria-devel@common-lisp.net