[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: (BUG LISP) at MIT-MC
- Subject: broken magic
- From: ALAN at MIT-MC (Alan Bawden)
- Date: Sat, 16 Aug 80 19:48:00 GMT
- Original-date: 16 AUG 1980 1548-EDT
(defun foo (x)
(print (list 'foo-expr x))
(defmacro foo (x)
(print (list 'foo-macro x))
(foo '(a . b))
(FOO-MACRO (QUOTE (A . B)))
(funcall 'foo '(a . b))
(FOO-EXPR (A . B)) ;Excellent! Just what I wanted!
(apply 'foo '((a . b)))
;IMPROPER USE OF MACRO - EVAL ;OOPS!
I find that APPLY is the the ONLY function that won't cooperate with
me here. FUNCALL, LEXPR-FUNCALL, all the MAPping functions and the
uuolinker all know to ignore a MACRO property if they can find
something better. Could someone twist APPLY's arm a little and get
him to agree? thanx.