No, this is not possible. You can only exclude single methods but not  
whole traits.

Adrian

On Oct 25, 2009, at 06:37 , Igor Stasenko wrote:

> Suppose i having a trait grouping
>
> Trait named: #TraitGroup
> uses: TraitA + TraitB + .... TraitN
> category: 'foo'
>
> and suppose i want to use TraitGroup in one of my classes, but
> excluding one of the traits in the list above.. i.e. something like:
>
> Object subclass: #Myclass
> uses: TraitGroup - TraitA
> ..
>
> but the above code don't seem to work..
> Any clues, how i can do that?
> Is such kind of composition possible at all?
>
> -- 
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to