[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Maclisp quiz
- To: KMP at MIT-MC, DANIEL at MIT-MC, GENSYM at MIT-MC
- To: (BUG LISP) at MIT-MC, SANTA at MIT-MC
- Subject: Maclisp quiz
- From: JAR at MIT-MC (Jonathan A. Rees)
- Date: Thu, 24 Jul 80 23:34:00 GMT
- Original-date: 24 JUL 1980 1934-EDT
;;; What does TEST return when run interpreted?
;;; What does TEST return when run compiled?
(DEFUN F (()) 'BEFORE)
(DEFUN G (()) 'AFTER)
(DEFUN TEST ()
(LET ((F (GETL 'F '(SUBR EXPR)))
(G (GETL 'G '(SUBR EXPR))))
(UNWIND-PROTECT (F (PUTPROP 'F (CADR G) (CAR G)))
(PUTPROP 'F (CADR F) (CAR F)))))