[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'(lambda () a)
- To: Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- Subject: '(lambda () a)
- From: Guy.Steele@CMU-CS-A.ARPA
- Date: Tue, 04 Sep 1984 05:56:00 -0000
- Cc: common-lisp@SU-AI.ARPA
- In-reply-to: <RAM.12044624579.BABYL@CMU-CS-C.ARPA>
It is true that
(let ((a 'foo))
(apply '(lambda () a) ()))
need not yield the value foo when executed in Common LISP.
However, it does have a valid interpretation. Sections 2.13 and 5.2
refer to the fact that a "raw lambda expression" may be used as
a function; see also the description of the function APPLY.
I remember that we decided that a raw lambda expression, when applied,
is supposed to be implicitly closed in the null (that is, global)
environment, but I cannot quickly find a place in the manual that
actually says that. Gulp.
--Guy
- References:
- applyhook
- From: Rob MacLachlan <RAM@CMU-CS-C.ARPA>