Re: SETF of APPLY



On Feb 27, 7:25 am, Andrew Philpot <phil...@xxxxxxx> wrote:
Trying Ron Garret's utilities.lisp in ACL 8.0, I encountered macros
that expand into (SETF (APPLY ...) ...) which doesn't always work.
Is this legal CL?

Interesting question - I expected it to always be, but CLHS 5.1.2.5
states SETF of APPLY is only guaranteed to work for three standardized
functions (aref, bit and sbit) and for user-defined functions, though
implementations are free to support more. This obviously excludes
#'car.

- Willem
.