Re: Reg: Restarting the lisp listner through lisp code
Bob Giansiracusa <[email protected]> Wed, 15 Feb 2006 11:11:39 -0800
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
On 2/15/06, Harley Gorrell <[email protected]> wrote: > On Wed, 15 Feb 2006, David Tolpin wrote: > > Lisp has a garbage collector; but hash tables keep their entries forever, > > unless you help them get rid of them. > > Something else to remember is the listener has a number > of special variables (*, **, ***) [1] which keep the results > of the last evaluation. Their intent to to make it easy to > use the value of the last expression. > > [1]> (+ 1 1) > 2 > [2]> (+ * 10) > 12 > > If you return a large object, a reference might be held there. ... which can be "flushed" simply by typing something simple (like the symbol T, for instance) to the listener three times to "clear" these history variables. -Bob