[Openmcl-devel] Re: "Smalltalk Model" related questions

Timothy Moore moore at bricoworks.com
Wed Jun 2 10:08:23 UTC 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 
>> of
>> the system, to look up functions or methods by the classes of their
>> parameters.
> And this isn't desirable / needed? (see below)
> Lisp programmers appearently neither need nor want this, and I was 
> wondering
> 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. 
http://www.franz.com/support/documentation/6.2/doc/mop/contents.html is 
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 mailing list