On Mon 11 Feb 2019 at 20:36, Hilaire <hila...@drgeo.eu> wrote:

> With singleton you will access class variable, which you can't with a
> trait, so you will need a setter, but should work I guess


Hi,

Since Pharo 7, Traits are statefuls.

See documentation at:
https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Traits.md


>
> Hilaire
>
> --
> Dr. Geo
> http://drgeo.eu
>
>
>
> --
Cyril Ferlicot
https://ferlicot.fr

Reply via email to