[squeak-dev] The Trunk: Kernel-cmm.816.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 26 19:56:09 UTC 2013


Chris Muller uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-cmm.816.mcz

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

Name: Kernel-cmm.816
Author: cmm
Time: 26 October 2013, 2:55:06.697 pm
UUID: 62af959d-4b3e-4b4c-8c4e-aa7f1465e8de
Ancestors: Kernel-ul.815

Remove valueWithAllPossibleArguments: because it has not proven a general necessity..

=============== Diff against Kernel-ul.815 ===============

Item was removed:
- ----- Method: BlockClosure>>valueWithAllPossibleArguments: (in category 'evaluating') -----
- valueWithAllPossibleArguments: anArray 
- 	"Same as valueWithPossibleArgs: except when the receiver takes just one-argument, and more than one argument is specified by anArray, then pass all of anArray as THE argument to the receiver block
- 	This is used to allow a large, variable number of arguments to be passed."
- 	^numArgs = 0
- 		ifTrue: [self value]
- 		ifFalse:
- 			[self valueWithArguments:
- 				(numArgs = anArray size
- 					ifTrue: [anArray]
- 					ifFalse:
- 						[numArgs > anArray size
- 							ifTrue: [anArray, (Array new: numArgs - anArray size)]
- 							ifFalse:
- 								[numArgs = 1
- 									ifTrue: [Array with: anArray]
- 									ifFalse: [anArray copyFrom: 1 to: numArgs]]])]!



More information about the Squeak-dev mailing list