[plt-scheme] Incremental compilation

From: Daniel Silva (dansilva at lynx.dac.neu.edu)
Date: Sat Oct 11 19:12:19 EDT 2003

If you have access to the namespace where your functions are defined,
then you can redefine them from a REPL with
"namespace-set-variable-value!"

Daniel

On Fri, 2003-10-10 at 20:11, kirk.miller at phoenix.gov wrote:
> Hello,
>         I keep reading about how dynamic redefinition of functions
> (which I understand
> is often mischaracterized as "incremental compilation") is a big
> benefit of lisp and scheme,
> increases productivity,etc, but I cannot find any examples or how-to
> documents anywhere.
> I am trying to find out how to do this in PLT.
> 
> I need to interact via keyboard/mouse with my running program in a
> window and still be able to redefine a function and have it take
> effect as soon as I hit "enter" in DrScheme. Can this be done
> (easily)? 
> Do I have to have a thread for my "main" program and another for a
> REPL?
> 



Posted on the users mailing list.