Your use case (comparing containers using pluggable comparison for 
items) is pretty common.

And what I was suggesting won't solve that problem.

However, it will make sequencable collections with comparable items 
comparable. That's it. If we have comparison defined for Point, why not 
have it for arrays?

And no one forces you to define #= or #< for your objects if you don't 
want to.


On 02.08.2015 20:23, Peter Uhnák [via Smalltalk] wrote:
>
> ... snip ...
>




--
View this message in context: 
http://forum.world.st/Comparison-for-SequencableCollection-tp4840704p4840726.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to