<div dir="ltr">On Thu, Oct 3, 2013 at 8:48 AM, Didier Verna <span dir="ltr"><<a href="mailto:didier@lrde.epita.fr" target="_blank">didier@lrde.epita.fr</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Basically, after a (defvar *var*), there<br>
are times when (setq *var* '(0 0)) doesn't work (the previous value of<br>
*var* remains in effect).<br></blockquote><div><br></div><div>I guess you are modifying the value of *var*, which is not allowed if it is a quoted list. That's why you need e.g. (list .. ..) or (copy-tree '(.. ..)) instead of '(.. ..).</div>
<div><a href="http://stackoverflow.com/questions/10365470/modifying-a-list-passed-as-a-parameter-gives-different-results-in-sbcl-and-clisp">http://stackoverflow.com/questions/10365470/modifying-a-list-passed-as-a-parameter-gives-different-results-in-sbcl-and-clisp</a><br>
</div><div><br></div><div>- Willem</div></div></div></div>