Re: Finalization function for GC per object in LispWorks.
"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
> On 7 Nov 2025, at 21:11, Martin Simmons <[email protected]> wrote: > > (defvar *finalizer-table* > (make-hash-table > :test #'eq > :weak-kind :key > :free-function 'callfun)) This is actually very cool. Now it will be easy to destroy clos objects if they need that by adding them to the table during initialisation. I find in Lisp it is particularly easy to lose an object when playing with things in repl. What was the original intention behind adding this :free-function parameter? _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html