[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: SETF-METHOD-FOR-SYMBOLS (version 1)
- To: "David A. Moon" <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Subject: Re: Issue: SETF-METHOD-FOR-SYMBOLS (version 1)
- From: Dave Matthews <dcm%hpfclp@hplabs.HP.COM>
- Date: Tue, 22 Sep 87 10:58:55 MST
- Cc: cl-cleanup@sail.stanford.edu
- In-reply-to: Your message of Mon, 21 Sep 87 17:36:00 -0400. <870921173659.3.MOON@EUPHRATES.SCRC.Symbolics.COM>
HP's Common Lisp produced the desired results, namely r and s having
identical values. I agree that this change would be beneficial to the
language and should not adversely impact the performance of most
implementations.
1 LISP [USER:] > (setq r '(a 1 b 2 c 3))
(A 1 B 2 C 3)
2 LISP [USER:] > (setq s r)
(A 1 B 2 C 3)
3 LISP [USER:] > (setf (getf r 'b) (progn (setq r nil) 6))
6
4 LISP [USER:] > r
(A 1 B 6 C 3)
5 LISP [USER:] > s
(A 1 B 6 C 3)
6 LISP [USER:] > (eq r s)
T
Dave Matthews