Re: [PATCH] expressions, metaclasses, generic-postgresql

"Dmitriy Ivanov" <divanov-OY8o98/[email protected]> Tue, 6 Dec 2005 12:38:48 +0300
Newsgroups gmane.lisp.clsql.devel
Organization Ystok-Systema
Message-ID <[email protected]>
Hello Vladimir,
"Vladimir Sekissov" <[email protected]> wrote:

divanov>> Do you see much diffefence between checking by means of
divanov>>     (typep super 'standard-db-class)
divanov>> vs.
divanov>>     (eq (class-of super) vmc) ; (find-class
divanov>> 'standard-db-class)
VS>
VS> This allow you to use your own metaclass subclassing
VS> `standard-db-class'.
VS>
VS> With exact match (eq (class-of super) vmc) you don't detect
VS> existence of 'standard-db-object' in superclasses because of your
VS> metaclass add one and get circular dependency  error.

Oh, I see.
Though calling typep may implicitly invoke finalize-inheritance, that does
not matter to us as we finalize inheritance explicitly just on defining
every standard-db-class.
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru