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

[no subject]



Is there a good reason why (DEFPROP FOO BAR BAZ) returns FOO
while (PUTPROP 'FOO 'BAR 'BAZ) returns BAR? If not, I would like
to see this corrected at least in NIL and maybe in MacLISP too
if the general feeling is that no one depends on it's return value.
It is inconsistent with SETQ, SET, RPLACA, RPLACD, SETPLIST, PUTPROP.
If your argument is that (DEFUN FOO ...) returns FOO, then I would
like to challenge that and have it return the function object (lambda...)
that gets defprop'd... It would be nice to be able to think of
DEFPROP as just an FSUBR version of PUTPROP ... -kmp