[ENH] ifNotEmptyCleans
Avi Bryant
avi at beta4.com
Thu Sep 30 10:11:42 UTC 2004
On Sep 30, 2004, at 12:03 PM, Marcus Denker wrote:
> I really like the valueWithPossibleArgs: thingy: It does a
> double-dispatch on the number of arguments
> of the block, and just does the right thing. We really should keep it.
Yup, though I would like to have a variation that expected only one arg
- so,
aBlock valueWithPossibleArgument: self
rather than
aBlock valueWithPossibleArgs: {self}.
Especially since I imagine that's the most common usage.
Avi
More information about the Squeak-dev
mailing list
|