[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
minor point about extract-declarations
- To: commonloops.PA@Xerox.COM
- Subject: minor point about extract-declarations
- From: duff@unclejack.crd.ge.com (David A Duff)
- Date: Thu, 25 May 89 13:57:34 EDT
- Redistributed: commonloops.PA
- Reply-to: duff@eraserhead.crd.ge.com
hello.
the macro EXTRACT-DECLARATIONS, defined in macros.lisp performs a function
that is very useful to me. looking at it more closely, however, revealed
either a discrepancy in the code or in my understanding of Steele's
description of common lisp.
the macro only returns at most one docstring and it assumes that the
docstring, if present will always be the first thing in the body. Steele
seems to indicate that multiple docstrings are allowable and that they can be
interspersed with the declarations.
has there been some sort of cleanup or clarification of Steele on this issue?
i personally, can't see much point in allowing docstrings to be interspersed
with declarations, and i don't know what the correct way would be to handle
more than one (i don't think Steele says anything about this).
Dave Duff GE Corporate Research and Development
duff@eraserhead.crd.ge.com Schenectady, NY 12309