[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why is the value NIL special?
- To: BUG-LISP at MIT-MC
- Subject: Why is the value NIL special?
- From: George J. Carrette <GJC at MIT-MC>
- Date: Sun, 23 Aug 81 05:41:00 GMT
- Original-date: 23 August 1981 01:41-EDT
(SETQ MACRO-EXPANSION-USE 'MACROMEMO)
(DEFMACRO F1 (X) (PRINT X) ())
(DEFMACRO F2 (X) (PRINT X) '(QUOTE ()))
(DEFUN G1 () (F1 "FOOBAR"))
(DEFUN G2 () (F2 "FOOBAR"))
(G1) ; prints "FOOBAR"
(G1) ; continues to print "FOOBAR"
(G2) ; prints "FOOBAR"
(G2) ; doesn't print "FOOBAR" because the MEMOIZING worked.