Changes to Trunk (
http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2016-March/009486.htmlName: Collections-ul.680
Ancestors: Collections-ul.679
#includes: will return false if the receiver is some kind of character set and the argument is not a character. E.g. ['0' asCharacterSet includes: 48.123] won't evaluate to true anymore, nor will [ '' asCharacterSet includes: nil ] raise an error.
#occurrencesOf: revamp - round #2
- added optimized implementations to all Collection subclasses where it was sensible - as suggested by Nicolas.
- moved all implementations from testing to enumeration category, because this method doesn't answer a boolean value, but it's similar to #count:, which is in enumeration.
=============================================