[racket] Why does racket/trace not export trace-define?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Tue Oct 1 11:19:58 EDT 2013

On Tue, Oct 1, 2013 at 11:08 AM, Ryan Newton <rrnewton at gmail.com> wrote:
> Hello,
>
> I'm switching a large introductory class from Chez Scheme to Racket and I
> keep running into small surprises.  Here's one: the docs for racket/trace
> specifically mention it being a Chez-Scheme-like feature:
>
>    http://docs.racket-lang.org/reference/debugging.html
>
> But the way students usually use tracing in Chez scheme is with the derived
> forms "trace-define" "trace-lambda" "trace-let", and these macros are
> missing.
>
> Is there any reason these aren't provided?  If not, is the correct thing to
> do a pull request against this repo and pkg?

Adding those forms sounds great. However, this:

>    https://github.com/plt/racket/tree/master/pkgs/trace

Is something different, with docs here: http://docs.racket-lang.org/trace/

The code you want to change is here:
https://github.com/plt/racket/blob/master/racket/collects/racket/trace.rkt

Sam

Posted on the users mailing list.