Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.518.mcz==================== Summary ====================
Name: Collections-nice.518
Author: nice
Time: 4 May 2013, 4:02:58.138 pm
UUID: 1c11d0d8-8bb1-4eb0-b820-46a067ab4a43
Ancestors: Collections-fbs.517
What's the best collection type for holding characters?
So, let $A to: $Z collect: as: String
-> 'ABCD...'
rather than Array
-> #($A $B $C $D ...)
=============== Diff against Collections-fbs.517 ===============
Item was changed:
----- Method: Character>>to: (in category 'converting') -----
to: other
"Answer with a collection in ascii order -- $a to: $z"
+ ^ (self asciiValue to: other asciiValue)
+ collect: [:ascii | Character value: ascii]
+ as: String!
- ^ (self asciiValue to: other asciiValue) collect:
- [:ascii | Character value: ascii]!