From: Tim Bradshaw Subject: Giving LAMBDA a definition in CL Date: Message-ID: <TFB.94Jul29172726@burns.cogsci.ed.ac.uk>
I'd like to be able to use LAMBDA the way you do in scheme, ie as a
special form that makes functions. This obvious definition works in
CMUCL:
(defmacro lambda ((&rest args) &body body)
`(function (lambda (,@args) ,@body)))
Is this actually strictly legal in CL (other than possible issues of
redefining symbols in the COMMON-LISP package)?
--tim