Sven Van Caekenberghe-2 wrote > PluggableSet ? Perfect! Thanks :)
My actual usage, in case anyone finds it helpful, was removing duplicate files: uniqueFiles := PluggableSet new equalBlock: [ :a :b | a isMD5Equal: b ]; hashBlock: [ :f | f binaryReadStreamDo: [ :str | (MD5 hashStream: str) hex hash ] ] yourself. allFiles := folder filesMatching: '*.eml'. uniqueFiles addAll: allFiles. (allFiles difference: uniqueFiles) do: #delete. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Set-on-Attribute-tp4912672p4912678.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.