From: Peter Dudey, Order of the Golden Parentheses
Subject: Utterly destroying a package
Date: 
Message-ID: <DUDEYP.94Feb27142847@hume.cs.orst.edu>
Steele (p. 265-6) implies that DELETE-PACKAGE will not actually get
rid of the symbols in the package, just leave them in limbo.  I want
to get rid of a package and its contents so thoroughly that they can
be garbage collected.  How can I do this?

--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
\ Peter Dudey, MS student in Artificial Intelligence, Oregon State University /
/ ······@research.cs.orst.edu : hagbard on IGS : 257 NE 13th, Salem, OR 97301 \
\   "We feel confident that there is a 4-line LISP hack for consciousness."   /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: Richard Levitte
Subject: Re: Utterly destroying a package
Date: 
Message-ID: <LEVITTE.94Feb28135921@eliza.e.kth.se>
So you really mean that if you have some code in another package with
a reference to MY-DESTROYABLE-PACKAGE::FOO, you want it to suddenly have an
invalid referens?  Or NIL, at best?

--
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++!
! Richard Levitte, VMS GNU Emacs hacker   ! tel: int+46-8-18 30 99            !
! Sulv"agen 57, II                        ! fax: none for the moment          !
! S-126 40 H"agersten                     ! Internet: ·······@e.kth.se        !
! SWEDEN                                  !                                   !
!-----------------------------------------------------------------------------!
From: Peter Dudey, Order of the Golden Parentheses
Subject: Re: Utterly destroying a package
Date: 
Message-ID: <DUDEYP.94Feb28090806@hume.cs.orst.edu>
In article <·····················@eliza.e.kth.se> ·······@e.kth.se (Richard Levitte) writes:

   So you really mean that if you have some code in another package with
   a reference to MY-DESTROYABLE-PACKAGE::FOO, you want it to suddenly have an
   invalid referens?  Or NIL, at best?

I only intended to use it to clear out EVERYTHING, so I could reload
all of my files with impunity.

(Someone has sent me code that looks like it will do the trick.)


--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
\ Peter Dudey, MS student in Artificial Intelligence, Oregon State University /
/ ······@research.cs.orst.edu : hagbard on IGS : 257 NE 13th, Salem, OR 97301 \
\   "We feel confident that there is a 4-line LISP hack for consciousness."   /
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Barry Margolin
Subject: Re: Utterly destroying a package
Date: 
Message-ID: <2ktdhqINNr4h@early-bird.think.com>
In article <····················@hume.cs.orst.edu> ······@hume.cs.orst.edu (Peter Dudey, Order of the Golden Parentheses) writes:
>Steele (p. 265-6) implies that DELETE-PACKAGE will not actually get
>rid of the symbols in the package, just leave them in limbo.  I want
>to get rid of a package and its contents so thoroughly that they can
>be garbage collected.  How can I do this?

There's no simple way to do this.  As with any Lisp objects, they can only
be GC'ed when there's no possibility of accessing them.

For variable names, functions names, and quoted symbols referenced from
functions in other packages, you'll have to redefine or undefine those
functions.  For symbols incorporated into data structures, you should clear
out those references.  If the symbols have been imported into any other
packages you'll have to unintern them.

-- 
Barry Margolin
System Manager, Thinking Machines Corp.

······@think.com          {uunet,harvard}!think!barmar
From: Ron Musick
Subject: Simplex algorithm code?
Date: 
Message-ID: <2kvqq9$1us@agate.berkeley.edu>
Has anyone seen good public domain lisp code for the simplex algorithm?
If so, please email me at ······@cs.berkeley.edu
Thanks,
Ron Musick