A Traits question
Damien Cassou
damien.cassou at gmail.com
Fri Feb 15 13:52:34 UTC 2008
I do not understand what you are trying to achieve.
On Thu, Feb 14, 2008 at 8:32 PM, itsme213 <itsme213 at hotmail.com> wrote:
> "itsme213" <itsme213 at hotmail.com> wrote
>
>
> > Where the intent is roughly equivalent to some intermediate traits:
> > TraitA>>a
> > self x
> > TraitA>>b
> > self y
> >
> > Trait named: #TraitA1 uses: { TraitA }
> > TraitA1>>a1
> > self x1
> >
> > Trait named: #TraitA2 uses: { TraitA }
> > TraitA2>>a2
> > self x2
>
> I left out...
> Object subclass: #MyClass
> uses: { TraitA1. TraitA2 }
>
> - Sophie
>
>
>
>
>
--
Damien Cassou
More information about the Squeak-dev
mailing list
|