[Cl-perec-devel] PURGE-INSTANCES

Levente Mészáros levente.meszaros at gmail.com
Tue Aug 26 09:31:32 UTC 2008

On Tue, Aug 26, 2008 at 11:04 AM, Leslie P. Polzer
<leslie.polzer at gmx.net> wrote:
> Intuitively (or from my working with Elephant) I'd expect
> to have PURGE-INSTANCES the behaviour of
> (defun purge-instances (list)
>  (mapcar #'purge-instance list))
> How about changing it and renaming the current function
There is already a purge-all-instances which is, well, purges all
persistent instances regardless their class. This is not exported but
may come handy when playing with a test database. Accepting your
suggestions would require to rename this too. There are other
*-instances methods which also have to be looket at.

Hmm, since purge-instances is generic, what about adding a method
dispatching on list? It may seem strange for the first look, but it's
not that bad if you think of purge-instances in a really generic way.

There's no perfectoin

More information about the cl-perec-devel mailing list