[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: JONL at MIT-MC
- From: KMP at MIT-MC (Kent M. Pitman)
- Date: Fri, 8 Aug 80 21:36:00 GMT
- Cc: MOON at MIT-MC, GLS at MIT-MC, (BUG LISP) at MIT-MC, JAR at MIT-MC
- Original-date: 8 AUG 1980 1736-EDT
I think that
(DEFMACRO BOOLE (OP &REST X)
(COND ((NULL X) (ERROR "Too few args to BOOLE" (CONS 'BOOLE X)))
((NULL (CDR X)) (CAR X))
(T `(+INTERNAL-BOOLE ,OP ,(CAR X) (BOOLE ,OP ,@(CDR X))))))
should be the proper recursion description. Such a definition makes an
elegant case for (BOOLE op val) => val.