[Openmcl-devel] Re: "Smalltalk Model" related questions
moore at bricoworks.com
Wed Jun 2 06:08:23 EDT 2004
On Jun 2, 2004, at 11:56 AM, Sebastian Nozzi wrote:
> Dan Kanpp wrote:
>> There is no way, without writing code which inspects the internals
>> the system, to look up functions or methods by the classes of their
> And this isn't desirable / needed? (see below)
> Lisp programmers appearently neither need nor want this, and I was
> why... I seem to be missing something.
Indeed, the Meta Object Protocol, which is well supported in OpenMCL,
provides a semi-portable way to do this.
a good reference.
The function openmcl-mop:specializer-direct-generic-functions returns a
list of generic function objects which have a method specialized for a
particular type. The MOP supports a lot more introspection of classes,
generic functions and methods.
More information about the Openmcl-devel