"Tobias C. Rittweiler" tcr@freebits.de writes:
The attached patch improves error signalling when passing improper lists to some of the sequence function where the docstring said that they'd signal an error.
Additionally, introduce the macro DO-PROPER-LIST, and the function PROPER-LIST-LENGTH -- which are used to remove some code duplication.
-T.
DO-PROPER-LIST (lists.lisp) uses PARSE-BODY (macros.lisp) which depends upon STARTS-WITH (sequences.lisp) --- however `sequences.lisp' depends upon `lists.lisp'.
To break this cyclic depedence, I cut the use of STARTS-WITH in PARSE-BODY, making PARSE-BODY completely standalone.
-T.