<div class="gmail_quote">On Sat, May 26, 2012 at 5:20 PM, Antonio Bonifati <span dir="ltr"><<a href="mailto:antonio.bonifati@gmail.com" target="_blank">antonio.bonifati@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>What am I doing wrong? Does the (trace) macro accept lists, doesn't it?</div></blockquote><div><br></div><div>No, this is just a legacy option which is not used by the current interpreter. The original interpreter was based on a code performing list traversal; the current one is a bytecodes compiler which has the option to step through code, but this has to be told at compilation time. The :step option could be reimplemented by forcing the function to be re-compiled, though.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>BTW the equivalent and very similar option in another Lisp (GNU CLISP) works:</div><div>(trace (factorial :step-if t))</div>
</blockquote></div><br>That does not mean much. GCL has a totally different (and slower) interpreter.<div><br></div><div>Juajo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br>
<a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>