[Openmcl-devel] TRACEing recursive functions

Marco Baringer mb at bese.it
Fri Mar 21 10:21:29 PST 2003

Apparently TRACE doesn't trace recursive function calls:

? (defun fact (n) (if (zerop n) 1 (* n (fact (- n 1)))))
? (trace fact)
? (fact 3)
 Calling (FACT 3) 
 FACT returned 6

am i doing something wrong or is this a bug?

Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen

Openmcl-devel mailing list
Openmcl-devel at clozure.com

More information about the Openmcl-devel mailing list