Fwd: [squeak-dev] traits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [squeak-dev] traits

Mariano Martinez Peck
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 <[hidden email]>
Date: Wed, May 19, 2010 at 5:17 PM
Subject: [squeak-dev] traits
To: squeak-dev <[hidden email]>


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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] traits

jfabry
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 <[hidden email]>
Date: Wed, May 19, 2010 at 5:17 PM
Subject: [squeak-dev] traits
To: squeak-dev <[hidden email]>


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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

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




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