[racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Jan 16 10:37:09 EST 2013

It may be possible to change drracket to only set that parameter when it is
compiling files, but for now I think you have to disable drracket's auto
compilation (in the language dialog's show details section) to develop
programs like this.

Robby

On Wednesday, January 16, 2013, Sam Tobin-Hochstadt wrote:

> I'm not sure if this is a bug or not, so I'm bringing it up on the
> list.  But when I do the following:
>
> #lang racket
> (require compiler/cm)
> (manager-compile-notify-handler displayln)
> (managed-compile-zo
> "/home/samth/sw/plt/collects/tests/typed-racket/succeed/null-program.rkt")
>
> Then the compiler places the compiled files in the
> `compiled/drracket/` directory, and looks for compiled files there as
> well.  The `displayln` handler shows that basically all of Racket is
> being recompiled.  I found this quite surprising, and worse it means I
> can't use DrRacket to develop this program.  Would there be a way for
> DrRacket not to change whatever parameter is being changed here in the
> user program's context?
>
> Sam
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130116/d57c05ad/attachment.html>

Posted on the dev mailing list.