[plt-scheme] How do I reload a module that I've "require"d in the REPL?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sat Oct 15 11:43:29 EDT 2005

At Sat, 15 Oct 2005 08:37:42 -0700, Yoav Goldberg wrote:
> > If you use DrScheme, of course, you merely click the "run" button again
> > and you will always have a completely consistent REPL. Use the module
> > language and that REPL will be "inside" the module you are editing.
> But this clears all my previous interactions / tests.
> I would like to keep those..

I try to keep my tests in separate files, so I can actually maintain
them with my program as it evolves and run them over and over, etc. I
suspect this is better for the long-term health of my programs anyways.

For just simple explorations you do over and over, the esc-p history in
the REPL survives the "run" button.

Anyways, this is well trod ground here. I just wanted to point out a
way for Eric to get his REPL into a consistent state. You don't have to
use it, Yoav. You may wish to build something better. Go for it!


Posted on the users mailing list.