Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Torsten Bergmann
Maybe this collection in my wiki can help you: http://wiki.astares.com/pharo/115

There are also many tests in the image that you can check regarding traits, 
slots, meta links, ...
so you have the source luke.

Bye
T. 
 



Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Steffen Märcker
Maybe I missed that part: Can conflicts with slots occur? The section on 
conflicts only mentions methods as cause.

Do you have a pointer to a slots documentation?


Am 9. Januar 2019 20:32:51 MEZ schrieb "Cyril Ferlicot D." 
:
>Le 09/01/2019 à 18:49, Steffen Märcker a écrit :
>> Nice. Do you know where to find details on stateful traits and slots?
>I
>> am familiar with stateless traits and wonder how state is
>incoeporated
>> and how conflicts are handled.
>> 
>
>The guide I send cover the user documentation of Stateful traits and
>how
>to handle conflict.
>
>What it does not cover are Slots (that are independents from Traits)
>and
>implementation documentation.
>
>> Best, Steffen
>> 
>
>
>-- 
>Cyril Ferlicot
>https://ferlicot.fr


Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Cyril Ferlicot D.
Le 09/01/2019 à 18:49, Steffen Märcker a écrit :
> Nice. Do you know where to find details on stateful traits and slots? I
> am familiar with stateless traits and wonder how state is incoeporated
> and how conflicts are handled.
> 

The guide I send cover the user documentation of Stateful traits and how
to handle conflict.

What it does not cover are Slots (that are independents from Traits) and
implementation documentation.

> Best, Steffen
> 


-- 
Cyril Ferlicot
https://ferlicot.fr



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Steffen Märcker
Nice. Do you know where to find details on stateful traits and slots? I am 
familiar with stateless traits and wonder how state is incoeporated and how 
conflicts are handled.

Best, Steffen

Am 9. Januar 2019 15:21:09 MEZ schrieb Konrad Hinsen 
:
>Cyril Ferlicot  writes:
>
>> There is documentation on Traits here:
>>
>https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Traits.md
>
>Great, thanks!
>
>Konrad.


Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Konrad Hinsen
Cyril Ferlicot  writes:

> There is documentation on Traits here:
> https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Traits.md

Great, thanks!

Konrad.



Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Cyril Ferlicot
On Wed, Jan 9, 2019 at 11:15 AM Konrad Hinsen
 wrote:
>
> Dear Pharo experts,
>

Hello,

> Is there any documentation on traits as implemented in Pharo 7? It's
> easy to find discussions about the trait feature over the years, plus
> slides and related stuff, but I am not sure what the current actually
> implemented version is. I did manage to write and use a first trait
> (https://github.com/khinsen/EqualityThroughVariablesTrait), but there
> seem to be more advanced features such as slots that I don't know
> anything about.

There is documentation on Traits here:
https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Traits.md

It might still needs review but it should help.

It does not cover slots that is independent of Traits even if both can
be used together.

>
> Cheers,
>   Konrad.
>


-- 
Cyril Ferlicot
https://ferlicot.fr



[Pharo-users] Documentation on Traits

2019-01-09 Thread Konrad Hinsen
Dear Pharo experts,

Is there any documentation on traits as implemented in Pharo 7? It's
easy to find discussions about the trait feature over the years, plus
slides and related stuff, but I am not sure what the current actually
implemented version is. I did manage to write and use a first trait
(https://github.com/khinsen/EqualityThroughVariablesTrait), but there
seem to be more advanced features such as slots that I don't know
anything about.

Cheers,
  Konrad.