[plt-scheme] dynamic-*un*-require?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Oct 24 21:53:41 EDT 2008

At Fri, 24 Oct 2008 16:33:22 -0700, YC wrote:
> I am interested in "reloading" a dynamic loaded module, but it appears that
> once a module is loaded, it cannot be reloaded, so I'm wondering how it can
> be achieved.

The `enter!' form of `scheme/enter' re-loads a module when its file
timestamp changes --- as long as the module was originally loaded via
`enter!'.

I imagine that's not exactly what you need, but the implementation in
"collects/scheme/enter.ss" might give you some ideas.


Matthew



Posted on the users mailing list.