·······@hotmail.com writes:
> I need to design a system that handles stylesheets for rtf files. Just like in
> CSS (cascading style sheets) for html, a style may inherit properties from
> another style. For example:
>
> Style A: Font Arial, Size 12
> Style B: Bold, inherits everythng else from Style A, resulting in Arial, 12,
> bold
>
> What's the best design for such a system where an object inherits not from
> another class, but from an _instance_ of a class?
One system doing something like this would be the KR
knowledge-representation part in the Garnet GUI system.
- Non-CLOS stuff, though.
--