[Openmcl-devel] Location of the MOP

Gary Byers gb at clozure.com
Mon May 2 12:27:34 UTC 2005



On Mon, 2 May 2005, Thomas F. Burdick wrote:

> I recieved a patch from a Cells user for OpenMCL, and it seems to
> indicate that in his OpenMCL, the MOP functions live in the CLOS
> package.  In the oldish openmcl I last tested (I don't remember the
> version, sorry), the MOP was still in the CCL package.  So my question
> is, where is the proper package to import MOP functions from?  Is it
> CLOS?  If possible, I'd like to support older openmcls, so is there a
> reliable way to tell from *FEATURES* when I should be importing from
> CCL, and when I should be importing from another package?

There has never been a CLOS package distributed with OpenMCL.

MOP symbols are exported from a package named "OPENMCL-MOP" in
versions where :OPENMCL-PARTIAL-MOP is on *FEATURES*.  (Those symbols
are generally defined in - and generally exported from - the "CCL"
package as well.)  The "partial" MOP support that's present when that
feature is is supposed to contain everything except for some
constructs in the "Generic Function Invocation Protocol"; everything
that's there purports to comply with what the AMOP describes.

Some older OpenMCL releases had some MOP-related symbols exported from
the CCL package.  The level of intended AMOP compliance was generally
pretty low, and it may or may not be straightforward or even practical
to try to use the MOP in a version that didn't claim to implement it.




More information about the Openmcl-devel mailing list