[squeak-dev] The Inbox: Collections-ct.930.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 11 09:56:56 UTC 2021


A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.930.mcz

==================== Summary ====================

Name: Collections-ct.930
Author: ct
Time: 11 March 2021, 10:56:52.528559 am
UUID: 6b1a0ee3-8c2d-a547-9ee2-f029a32d07b7
Ancestors: Collections-nice.929

Uses oxford comma in #asCommaStringAnd.

Full discussion is here: http://forum.world.st/The-Inbox-Tools-ct-1015-mcz-tp5124286p5127654.html

=============== Diff against Collections-nice.929 ===============

Item was changed:
  ----- Method: Collection>>asCommaStringAnd (in category 'printing - obsolete') -----
  asCommaStringAnd
  	"Return collection printed as 'a, b and c' "
  
  	self flag: #deprecate.
+ 	^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ', and ']
- 	^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ' and ']
  		!



More information about the Squeak-dev mailing list