[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Named lambdas

    Date: 22-Nov-82 12:54:20 PST (Monday)
    From: Masinter at PARC-MAXC

    If you 
    (defun a (x y) ..)
    and then
    (setf (fdefinition 'b) (fdefinition 'a))
    and then call b, should it say you are inside a?

I say yes, because I believe that functions are first-class objects and
have names.  Thus the defun creates a function named a and then fdefine's
the symbol a to it.  The setf picks up that function and puts in another
cell as well.  But it's the same function.