[self-interest] Remove modules?

Russell Allen mail at russell-allen.com
Sun Jun 15 08:44:30 UTC 2008

Thanks Jecel.  Sounds like something I'll have to come back to.

On 14/06/2008, at 5:54 AM, Jecel Assumpcao Jr wrote:

> Russell Allen wrote on Wed, 11 Jun 2008 19:39:17 +1000:
> > So I have worked out that I can load my module with:
> > bootstrap read: 'webserver' from: 'applications'
> > and file it out with:
> > modules webserver fileOut
> > Is there any way to remove my module from the image, reverting to  
> a nice, clean webserver-less image?
> I don't think this has been implemented. Given the annotations that
> every module has, this should be a lot easier to do than when you file
> in stuff with random expressions. Though a single module doesn't save
> the values it modified when loading, if you could look at all other
> modules and the initial values they define you should be able to  
> figure
> out how to restore stuff. But this would require knowing the exact  
> order
> in while all present modules were loaded in case multiple modules
> changed the same thing with different values.
> This, of course, is the general case. For the typical case a new  
> module
> only adds stuff without changing what was there before. Removing that
> should be pretty simple.
> -- Jecel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20080615/8b11f47e/attachment.html>

More information about the Self-interest mailing list