Mathieu Bouchard <matju / artengine.ca> writes:

> On Sun, 24 Apr 2005, gabriele renzi wrote:
>> Mathieu Bouchard ha scritto:
>>> On Thu, 21 Apr 2005, ts wrote:
>>>> * a class is a module which can use inheritance
>> I disagree, thinking that mixins and multiple inheritance are not
>> the same thing, and should not be pointed as such.
>
> Take a look at the inheritance mechanism in CommonLISP and how the
> (call-next-method) macro works in LISP and then you won't be able to
> honestly tell me that mixins are not inheritance and that Ruby's
> mixins aren't like Lisp's classes. Really. Go see for yourself.

Sadly, mixins *arent* MI.  They often are enough, but not always.

Can you inherit from Modules?  How do I specialize a mixin?

-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org