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


    Date: 14 August 1980 02:12-EDT
    From: Carl W. Hoffman <CWH at MIT-MC>
    To:   JONL, BMT
    cc:   MACSYMA-I, RZ, WGD,
    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?

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).