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

(setf (apply #'accessor ...))



   Redistributed: CommonLoops.pa
   Date: Wed, 14 Mar 90 13:08:43 EST
   From: Greg Anglin <watstat.waterloo.edu!dganglin@eddie.mit.edu>

     [...]

     (setf b (list bar))
     (setf (apply #'foo b) 42)

     [...]

CLtL2 does NOT include the use of (setf (apply ...) ...) that you want here.
It's easy to write what you want, however:

(setf b (list bar))
(apply #'(setf foo) 42 b)