[lispbox-devel] using trace under lispbox-7.0 slime/emacs/Clozure CL

George Thomas gmt.gthomas at gmail.com
Mon Mar 4 01:03:44 UTC 2013


Hi -
I did the standard installation on my Windows 7, everything seems OK except
the trace function. See for example, the following trace is executing but
its not doing much. Thanks very much for letting me know what might be
wrong below.

; SLIME 2011-02-04
CL-USER> (defun factorial (N)
  "Compute the factorial of N."
  (if (= N 1)
      1
    (* N (factorial (- N 1)))))
FACTORIAL

CL-USER> (trace factorial)
NIL

CL-USER> (factorial 4)
0> Calling (FACTORIAL 4)
<0 FACTORIAL returned 24
24

CL-USER>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/lispbox-devel/attachments/20130303/d7382320/attachment.html>


More information about the lispbox-devel mailing list