Say I have a collection like #('ab' 'ac' 'ba' bc') and I want to condense it
so that a certain attribute is unique. In this example, say the first
character, so I want one object where the first character is $a and one $b,
but I don't care which object i.e. 'ab' or 'ac' for $a, but not both.

Is there an elegant way to do that?



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Set-on-Attribute-tp4912672.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.


Reply via email to