[squeak-dev] The Inbox: Collections-cwp.486.mcz

Frank Shearar frank.shearar at gmail.com
Tue Aug 14 14:20:07 UTC 2012


On 14 August 2012 14:30, Juan Vuletich (mail lists)
<juanlists at jvuletich.org> wrote:
> Quoting Frank Shearar <frank.shearar at gmail.com>:
>
>> On 14 August 2012 13:29, Juan Vuletich (mail lists)
>> <juanlists at jvuletich.org> wrote:
>>>
>>> Hi Folks,
>>>
>>> For this method, #tokenish and several others, please take a look at
>>> senders
>>> & implementors of #isGenerallyValidInIdentifiers and
>>> #isGenerallyValidStartOfInIdentifiers in Cuis. This style eases having a
>>> consistent behavior.
>>
>>
>> Would you mind pasting a sample?
>>
>> frank
>>
>>> Cheers,
>>> Juan Vuletich
>
>
> Please visit http://www.jvuletich.org/Cuis/Index.html and download it.
> Smalltalk code is much better understood by taking advantage of its tools.

That might (or might not) be true. Supplying samples to a mailing list
advertises the desired style far more effectively than asking people
to download images and install software to see it.

frank

> Cheers,
> Juan Vuletich
>
>>>
>>>
>>>
>>> Quoting commits at source.squeak.org:
>>>
>>>>
>>>> Item was changed:
>>>>   ----- Method: Symbol>>precedence (in category 'accessing') -----
>>>>   precedence
>>>>         "Answer the receiver's precedence, assuming it is a valid
>>>> Smalltalk
>>>>         message selector or 0 otherwise.  The numbers are 1 for unary,
>>>>         2 for binary and 3 for keyword selectors."
>>>>
>>>>         self size = 0 ifTrue: [^ 0].
>>>> -       self first isLetter ifFalse: [^ 2].
>>>>         self last = $: ifTrue: [^ 3].
>>>> +       (self anySatisfy: [:c | c isLetter]) ifTrue: [^ 1].
>>>> +       ^ 2!
>>>> -       ^ 1!
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> Cheers,
>>> Juan Vuletich
>>>
>>>
>>
>>
>
>
>
> Cheers,
> Juan Vuletich
>


More information about the Squeak-dev mailing list