[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: (BUG LISP) at MIT-ML
- Subject:
- From: EB@MIT-ML
- Date: Thu, 12 Jan 79 19:20:21 GMT
- Original-date: 12/01/79 15:20:21 EDT
(defun f macro (m)
(cond ((eq (cadr m) '+) 'plus)
((eq (cadr m) '-) 'difference)
(t (error))))
(defun foo+ (x y) ((f +) x y))
(defun foo- (x y) ((f -) x y))
In the Interpreter, PLUS or DIFFERENCE is an unbound variable. In
the compiler, the function PLUS or DIFFERENCE is JCALLed, or
so the LAP claims.