[Pkg] The Trunk: Collections-nice.177.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 31 16:41:35 UTC 2009

Nicolas Cellier uploaded a new version of Collections to project The Trunk:

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

Name: Collections-nice.177
Author: nice
Time: 31 October 2009, 5:41:03 am
UUID: 5444f379-2664-46a1-9db9-7c74edf779fe
Ancestors: Collections-ar.176

Patch to make literal Array store Float exactly

=============== Diff against Collections-ar.176 ===============

Item was changed:
  ----- Method: Array>>storeOn: (in category 'printing') -----
  storeOn: aStream 
  	"Use the literal form if possible."
  	self isLiteral
  			[aStream nextPut: $#; nextPut: $(.
  			self do: 
  				[:element | 
+ 				element storeOn: aStream.
- 				element printOn: aStream.
  				aStream space].
  			aStream nextPut: $)]
  		ifFalse: [super storeOn: aStream]!

More information about the Packages mailing list