[plt-scheme] Undefine variable?

From: Zbyszek Jurkiewicz (zbyszek at duch.mimuw.edu.pl)
Date: Wed Mar 5 06:18:10 EST 2003

On Tue, 4 Mar 2003, Noel Welsh wrote:

> --- Zbyszek Jurkiewicz <zbyszek at duch.mimuw.edu.pl>
> wrote:
> > In some package I create at execution time a lot of
> > variables and from 
> > time to time want to garbage clean some of them.
> > Variables are created
> > by namespace-set-variable-value!
> 
> For this case would it not suffice to set the variable
> value to void (or #f)?  That way the data will not be
> referenced and can be garbage collected.
> 
> Noel

Yes, but symbols will remain forever (probably the only option now is
kill the namespace).

Zbyszek



Posted on the users mailing list.