Scheme 48 (and thus scsh) do, MIT Scheme does not.  I don't know about
other current Schemes.  Common Lisps can't, because each interned
symbol is preserved in its package and all packages are preserved
in the package registry, an implementation-specific data structure.
(Symbols and packages can be uninterned and unregistered.)  But Scheme
has nothing like those.

If symbols aren't gc'd now, I'd like to argue for them to be.  In an
application I'm writing, I want to generate lots of random symbols at
runtime so they can be looked up more quickly in a-lists, but I don't
necessarily want them hanging around forever.

-- 
John Cowan  <[email protected]>  http://www.ccil.org/~cowan
        Raffiniert ist der Herrgott, aber boshaft ist er nicht.
                --Albert Einstein


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to