[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Local redefs of special forms
- To: David N Gray <Gray%dsg.csc.ti.com@relay.cs.net>
- Subject: Re: Local redefs of special forms
- From: Barry Margolin <barmar@Think.COM>
- Date: Sat, 14 Nov 87 17:06 EST
- Cc: COMMON-LISP@sail.stanford.edu
- In-reply-to: <2772843873-1355116@Kelvin>
Date: Fri, 13 Nov 87 20:24:33 CST
From: David N Gray <Gray%dsg.csc.ti.com@relay.cs.net>
Jeff,
But DEFSUBST is not part of Common Lisp, and I imagine that this is part
of the reason it isn't. Furthermore, DEFSUBSTs and INLINE functions are
not the same thing. Doing it the Common Lisp way:
(proclaim '(inline foo))
(defun foo (x) (car x))
On Symbolics Lispms, DEFSUBST is simply a macro, and
(defsubst foo (x) (car x))
expands into precisely the above PROCLAIM followed by DEFUN.
barmar