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

Re: Documentation strings and function.



    Date: 4 Sep 86 13:58 PDT
    From: Bobrow.pa@Xerox.COM

      If multiple doc strings are allowed, what does parse-body
     (if we ever decide on what that should be and do) return? 

    A single string or a list of such, so that these are distinguished.

I would prefer that the result would always (SATISFY LISTP).  This would
let macros do
	,@doc-strings
instead of
	,@(if (stringp doc-strings) `(,doc-strings) doc-strings)
as well as what DOCUMENTATION returns.  I think this is the case where
optimizing a singleton list to be its single component does more harm
than good.