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

(setf (not x) y) => (setf x (not y))



Fine.  I don't see any reason why a user shouldn't be allowed
to do a DEFSETF of NOT.  I am not crazy about installing it as
a requirement in the language.  Years ago I sent out examples
involving * and SQRT, looking something like this:

	(setf (sqrt x) y) -> (setq x (* y y))
	(setf (* x y) z) -> (setq x (/ z y))
	(setf (* x x) z) -> (setq x (sqrt z))


We could do it, but it would be wrong.

--Guy