[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)))))
FACT
? (trace fact)
NIL
? (fact 3)
 Calling (FACT 3) 
 FACT returned 6
6
? 
am i doing something wrong or is this a bug?
-- 
-Marco
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
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
    
    
More information about the Openmcl-devel
mailing list