[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: GJC at MIT-MC
- From: Robert W. Kerns <RWK at MIT-MC>
- Date: Wed, 30 Jul 80 17:42:00 GMT
- Cc: BUG-LISP at MIT-MC
- Original-date: 30 July 1980 13:42-EDT
Date: 28 July 1980 19:13-EDT
From: George J. Carrette <GJC at MIT-MC>
To: BUG-LISP at MIT-MC
(DEFUN (FOO BAR) (X) X) in compiled code causes FOO to get a BAR
property of |FOO BAR| and |FOO BAR| to get a SUBR property.
How can I get FOO to have a BAR property which is the SUBR property
in question without the generation of the symbol |FOO BAR|
which is useless for my purpose.
Look at the documentation for DEFUN in LISP NEWS!
Basically, what you want is the 3-list form: (DEFUN (FOO BAR BAZ) (X) X)
which will give FOO a BAR property of (LABMDA (X) X) when loaded into the
interpreter, and a BAZ property with the SUBR pointer when compiled.