On 18 April 2013 21:17, Frank Shearar <frank.shea...@gmail.com> wrote:
> On 18 April 2013 21:15, Sean P. DeNigris <s...@clipperadams.com> wrote:
>> I tweaked the code because in my most common case, I don't care that it's
>> e.g. aByteString, but only that it's aString:
>>
>>         (argument isKindOf: String) ifTrue: [ ^ 'aString' ].
>>         (argument isKindOf: Collection) ifTrue: [ ^ 'aCollection' ].
>>         (argument isKindOf: Integer) ifTrue: [ ^ 'anInteger' ].
>>
>> Am I the only one, or would this be useful for everyone? lmk and I'll
>> prepare a slice...
>
> That sounds like a very useful thing to have.

Belatedly, a comment: I usually turn numeric things into aNumber. You
particularly want to hint at the separate treatment of Integer and
friends from ScaledDecimal, Fraction, Float?

frank

> frank
>
>> -----
>> Cheers,
>> Sean

Reply via email to