[plt-scheme] 299.6

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Apr 27 18:10:10 EDT 2004

At Tue, 27 Apr 2004 17:02:24 -0500, Robby Findler wrote:
> At Tue, 27 Apr 2004 14:30:57 -0600, Matthew Flatt wrote:
> >  * Added a `current-compile' parameter, which is used by `compile' and
> >    by the default evaluation handler.
> > 
> >    Errortrace now sets this parameter, instead of `current-eval'.
> 
> Does this mean that this
> 
>   (require (lib "errortrace.ss" "errortrace"))
>   (require (lib "cm.ss" "cm"))
>   ... run my program ...
> 
> now runs my program with automatic .zo recompilation and errortrace
> turned on?

Drop the "cm", add just two more identifiers:

 (current-load/use-compiled
  (make-compilation-manager-load/use-compiled-handler))

Then, yes, it should work as expected.

Matthew



Posted on the users mailing list.