[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Named lambdas
- To: common-lisp at SU-AI
- Subject: Re: Named lambdas
- From: MOON at SCRC-TENEX
- Date: Mon, 22 Nov 1982 21:52:00 -0000
- In-reply-to: The message of 22-Nov-82 12:54:20 PST () from Masinter at PARC-MAXC
Date: 22-Nov-82 12:54:20 PST (Monday)
From: Masinter at PARC-MAXC
(defun a (x y) ..)
(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.