Re: Specializing slot-value-using-class in OpenMCL



Larry Clapp <larry@xxxxxxxxxxxx> writes:

I'm not Pascal, but did you mean

(defclass b (a)
(slot2)) ;^^^
Yes, thank you!

As far as why it's not inherited, I don't know for sure, but it seems
to me that the inheritance of metaclass in the presence of multiple
inheritance would be very complex.
That makes sense. Now that you brought it up, metaclasses in the
presence of multiple inheritance seems like a very complex issue even
without metaclass inheritance :)

--
Regards,
Slava Akhmechet.
.



Relevant Pages

  • Re: Inheritance and meta-classes
    ... Inheritance wise the metaclass sits between an object and its class. ... posting) but the singleton class of a class sits between the instance ...
    (comp.lang.ruby)
  • Re: Inheritance and meta-classes
    ... How do I find where a function is defined in the inheritance tree? ... Because of metaclass inheritance being cyclical I don't know where ... obj.metaclass.respond_to?, NoMethodError]) ...
    (comp.lang.ruby)
  • Re: Inheritance and meta-classes
    ... Inheritance wise it sits between an object and its class. ... but that's not a metaclass (although the ... singleton class it sits between the instance (the class object, e.g. Array) and its class in the same way an ordinary's object's singleton class does - which is also shown by the image you referred to in your posting. ...
    (comp.lang.ruby)
  • Inheritance and meta-classes
    ... I'm trying to work out where a method is defined in Rails. ... How do I find where a function is defined in the inheritance tree? ... Because of metaclass inheritance being cyclical I don't know where to ...
    (comp.lang.ruby)
  • Re: Specializing slot-value-using-class in OpenMCL
    ... (defclass a () ... Metaclass of 'b' will be standard-class. ... inheritance would be very complex. ... You'd probably do better to write a define-somemeta macro along the ...
    (comp.lang.lisp)