The API is pretty flexible about creating and loading modules into
namespaces.  What is not apparent is how to evict a namespace or the
GC-ableness of a namespace.

In the REPL, topleve.

Say I in a scope of code, I create a base namespace I'll call TMP, load or
attach modules into it, switch to it via current-namespace.

Now say I switch the current-namespace to some other namespace, maybe the
original I saved before I created TMP.  At the top-level, to me, there is
no reference to TMP.  Will TMP be GC'd?  Or is there away to explicitly
"purge" an unused namespace?

Thanks,

Ray
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to