On 2012-06-20, at 06:45, Sean P. DeNigris wrote:

> 
> Eliot Miranda-2 wrote
>> 
>> Why not
>>    #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect:
>> [:thing| thing extension] => #('' 'tar' 'gz' 'tar' 'gz')
>> and
>>    #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect:
>> [:thing| thing extensions] => #(#() #('tar') #('gz' 'tar') #('tar' '1')
>> #('gz' 'tar' '1'))
>> or
>>    #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect:
>> [:thing| thing extensions] => #(#() #('tar') #('tar' 'gz') #('1' 'tar')
>> #('1' 'tar' 'gz'))
>> ?
>> 
> 
> I opened an issue (http://code.google.com/p/pharo/issues/detail?id=6091)...
> which order do we like for extensions?

I'd say in the order they appear in the full basename, that will avoid
confusion :)

Reply via email to