[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(setf (apply #'accessor ...))
- To: dganglin%watstat.waterloo.edu@eddie.mit.edu
- Subject: (setf (apply #'accessor ...))
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Thu, 15 Mar 90 14:13:13 EST
- Cc: CommonLoops.pa@Xerox.COM
- In-reply-to: Greg Anglin's message of Wed, 14 Mar 90 13:08:43 EST <9003141808.AA16605@watstat.waterloo.edu>
- Redistributed: CommonLoops.pa
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)