[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PARSE-BODY
- To: Masinter.pa@XEROX.COM, common-lisp@sail.stanford.edu
- Subject: Re: PARSE-BODY
- From: David C. Plummer <DCP@QUABBIN.SCRC.Symbolics.COM>
- Date: Tue, 29 Jul 86 11:55 EDT
- In-reply-to: <860728-140217-2923@Xerox>
Date: 28 Jul 86 13:43 PDT
From: Masinter.pa@Xerox.COM
a) it is of little general utility
Given the addition of &body variables for macros, I can think of no
examples where I would want to directly call parse-body instead of just
using the macro-expansion option. (I currently have lots of examples
that call parse-body, but they're all in macros that could use the new
&body options instead.)
(defmacro condition-bind (list &body body)
(expand-condition-bind ''t list body))
(defmacro conditin-bind-if (predicate list &body body)
(expand-condition-bind predicate list body))
Why should I be forced to destructure the body in the defmacro instead
of the common expansion routine?