[racket] Can I trace calls of a function?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sun Jun 27 08:35:15 EDT 2010

#lang racket

(require racket/trace)

(define (f x)
  (if (zero? x) "done" (f (sub1 x))))

(trace f)

(f 100)

On Sun, Jun 27, 2010 at 12:54 AM, Insik Cho <iminsik at gmail.com> wrote:
> Hi buddies,
> I want to trace calls of a function with (require trace), but it doesn't
> work.
> What can I do to trace calls of a function?
> - Joe
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.