[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Local redefs of special forms



    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