[plt-scheme] On-demand module reloading

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jul 3 21:57:03 EDT 2009

On Jul  3, YC wrote:
> I implemented a mechanism call dyn-require that mimics dynamic-require,
> which checks whether the module had changed and reload if necessary.
> The basic idea is to replace
> (dynamic-require <module> 'symbol)
> to
> (dyn-require <module> 'symbol)
> This doesn't handle dependency reloading (I thought about it but it
> seems to open a can of worms so I didn't go down that route) and can
> share dependencies as well (to ensure the depended structs are the
> same ones).

See also "collects/handin-server/private/reloadable.ss".

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.