Re: Two questions; one about adding roles to classes, the other about trees.

2009-02-23 Thread Moritz Lenz
Timothy S. Nelson wrote: > Another question for everyone - is there some way I can extend a class > in such a way that it implements another role? class A does B does C { ... } where B and C are roles. > For example, say I have a > class Class::A that implements role Role::A, and I w

Re: Two questions; one about adding roles to classes, the other about trees.

2009-02-23 Thread Moritz Lenz
Timothy S. Nelson wrote: > On Mon, 23 Feb 2009, Moritz Lenz wrote: > >> Timothy S. Nelson wrote: >>> Another question for everyone - is there some way I can extend a class >>> in such a way that it implements another role? >> >> >> class A does B does C { ... } >> >> where B and C are roles. >

Re: Two questions; one about adding roles to classes, the other about trees.

2009-02-23 Thread Timothy S. Nelson
On Mon, 23 Feb 2009, Moritz Lenz wrote: Timothy S. Nelson wrote: Another question for everyone - is there some way I can extend a class in such a way that it implements another role? class A does B does C { ... } where B and C are roles. For example, say I have a class Class::A th

Two questions; one about adding roles to classes, the other about trees.

2009-02-22 Thread Timothy S. Nelson
Adding roles to classes question: Another question for everyone - is there some way I can extend a class in such a way that it implements another role? For example, say I have a class Class::A that implements role Role::A, and I want it to also implement Role::B (and I provide an implementat