mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.6K
active users

Learn more

screwlisp

(defmacro lets ((&rest substs) &body body)
"Did someone write let-but-its-substs already? "
(loop
:for body1 := body :then body2
:for body2
:=
(loop
:for new-body := body1
:then (subst new old new-body :test 'equal)
:for (old new) :in substs
:finally (return new-body))
:when (equal body1 body2)
:return (append '(progn) body1)))