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

'(lambda () a)

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.