[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
number of arg checking.
- To: (BUG LISP) at MIT-MC
- Subject: number of arg checking.
- From: GJC at MIT-MC (George J. Carrette)
- Date: Fri, 16 Jan 81 00:24:00 GMT
- Original-date: 15 JAN 1981 1924-EST
FOOBAR! (defmacro foo (x) `(cdr ,x))
(setf (foo '(a b c) '99))
Returns NIL and causes no error.
Not only does SETF not do wrong-number of argument checking,
it somehow manages to suppress the checking in the
macros which it expands. How is it so clever?
This sure caused me to waste a whole lot of time.
FOOBAR FOOBAR FOOBAR.