Sam Steingold <ยทยทยท@usa.net> writes:
> in gcl 2.2.2 on linux:
> (functionp (lambda()))
> Error: The function LAMBDA is undefined.
> Interesting. Will I have to add #' in front of all my lambdas or is
> there an easier way?
Well, strictly it isn't legal to redefine CL symbols, but in practice where
LAMBDA is not available as a macro, it usually works to do
something like:
(defmacro lambda (bvl &body forms) `#'(lambda ,bvl ,@forms))
One of the reasons it's disallowed to do this in CL, btw, is so that
when two people patch this same bug they don't clobber each other.