Hi Norbert, Mariano,

there is a quick way to see which classes are using traits. Inspect the following expression:

Smalltalk allClasses select: [:cls| cls hasTraitComposition and: [cls traitComposition size > 0]]

On 31 May 2010, at 10:15, Mariano Martinez Peck wrote:

Hi Norbert: I am not sure the current situation in Squeak but in Pharo I know it is used in some places.

I think in some Collection testing and Nile framework...but I am not sure.

Anyone can help?

Cheers

Mariano

---------- Forwarded message ----------
From: Norbert Fortelny <norbert.fortelny@gmail.com>
Date: Wed, May 19, 2010 at 5:17 PM
Subject: [squeak-dev] traits
To: squeak-dev <squeak-dev@lists.squeakfoundation.org>


Could anyone point me to sample code using traits in squeak.
Poked around a bit but couldn't find anything.
thanks and sorry if that is inappropriate here.
Norbert


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Johan Fabry   
PLEIAD Lab - Computer Science Department (DCC) - University of Chile