[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SETF
- To: CWH at MIT-MC
- Subject: SETF
- From: Howard I. Cannon <HIC at MIT-MC>
- Date: Thu, 14 Aug 80 13:10:00 GMT
- Cc: JONL at MIT-MC, BMT at MIT-MC, MACSYMA-I at MIT-MC, RZ at MIT-MC, WGD at MIT-MC, BUG-LISP at MIT-MC
- Original-date: 14 August 1980 09:10-EDT
Date: 14 August 1980 02:12-EDT
From: Carl W. Hoffman <CWH at MIT-MC>
To: JONL, BMT
cc: MACSYMA-I, RZ, WGD,
BUG-LISP
Re: SETF
Date: 13 AUG 1980 2341-EDT
From: JONL at MIT-MC (Jon L White)
Any preferences for what the "return value" of SETF should be?
Undefined!
I think it would be great if SETF returned the value, just like SETQ.
You don't know HOW many times I've wanted that. It turns out that in
MacLISP, if you just do it in the straightforward fashion (with a lambda),
the compiler optimizes it away if you don't use the returned value
(ALAN and I tried that for exactly this reason: to see if we could change
SETF reasonably).