[racket] Can I trace calls of a function?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sun Jun 27 19:32:43 EDT 2010

On Sun, Jun 27, 2010 at 8:40 AM, Laurent <laurent.orseau at gmail.com> wrote:
>
>
> On Sun, Jun 27, 2010 at 14:35, Sam Tobin-Hochstadt <samth at ccs.neu.edu>
> wrote:
>>
>> #lang racket
>>
>> (require racket/trace)
>>
>> (define (f x)
>>  (if (zero? x) "done" (f (sub1 x))))
>>
>> (trace f)
>>
>> (f 100)
>
>
> Is it possible to add this example to the docs?

Done (see the new "Debugging" section in the Reference).

-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.