<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Alexandria Developers<div><br class="webkit-block-placeholder"></div><div>I saw this two modify macro in sequences.lisp:</div><div><br class="webkit-block-placeholder"></div><div><div>(define-modify-macro removef (item &rest remove-keywords)</div><div>  (lambda (seq item &rest keyword-arguments)</div><div>    (apply #'remove item seq keyword-arguments))</div><div>  "Modify-macro for REMOVE. Sets place designated by the first argument to</div><div>the result of calling REMOVE with ITEM, place, and the REMOVE-KEYWORDS.")</div><div><br class="webkit-block-placeholder"></div><div>(define-modify-macro deletef (item &rest remove-keywords)</div><div>  (lambda (seq item &rest keyword-arguments)</div><div>    (apply #'delete item seq keyword-arguments))</div><div>  "Modify-macro for DELETE. Sets place designated by the first argument to</div><div>the result of calling DELETE with ITEM, place, and the REMOVE-KEYWORDS.")</div><div><br class="webkit-block-placeholder"></div><div>It seems that the use of DEFINE-MODIFY-MACRO doesn't match the ANSI CL standard. HyperSpec[1] says the 3rd argument of DEFINE-MODIFY-MACRO must be a symbol, not a lambda expression. A new version of LispWorks (still under test) will cannot compile these two definitions:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><span class="Apple-tab-span" style="white-space:pre">    </span>ANSI CL requires the argument to be a symbol, so I think ARNESI is wrong.  We<br><span class="Apple-tab-span" style="white-space:pre">        </span>changed this in LW 5.1. --- Martin Simmons from LispWorks, Ltd.<br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 16px; "><p><span class="Apple-style-span" style="font-family: STHeiti; font-size: 12px; "><div>Hope you can fix this, thanks.</div><div><br class="webkit-block-placeholder"></div><div>Chun TIAN (binghe)</div><div><br class="webkit-block-placeholder"></div><div>[1] <a href="http://www.lispworks.com/documentation/HyperSpec/Body/m_defi_2.htm#define-modify-macro">http://www.lispworks.com/documentation/HyperSpec/Body/m_defi_2.htm#define-modify-macro</a></div><div><br class="webkit-block-placeholder"></div></span></p></span></div></div></body></html>