Collection arithmethic method category

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Collection arithmethic method category

Fernando olivero
In Pharo1.0
         Collection organization listAtCategoryNamed: 'arithmethic' #()

In PharoCore1.1
        Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)

And the arithmethic is not an extension of any Package.

Why are all the methods in that category no present in PharoCore?
How and when are they added into Pharo ?

Fernando
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Fernando olivero
Sorry, i meant

> In PharoCore 1.1
> Collection organization listAtCategoryNamed: 'arithmethic' #()

> In Pharo1.0
> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)




On May 18, 2010, at 10:32 AM, Fernando olivero wrote:

> In Pharo1.0
> Collection organization listAtCategoryNamed: 'arithmethic' #()
>
> In PharoCore1.1
> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>
> And the arithmethic is not an extension of any Package.
>
> Why are all the methods in that category no present in PharoCore?
> How and when are they added into Pharo ?
>
> Fernando
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Henrik Sperre Johansen
http://code.google.com/p/pharo/issues/detail?id=332

PS. How about the Collection -> Math functions protocol?

Cheers,
Henry

On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:

> Sorry, i meant
>
>> In PharoCore 1.1
>> Collection organization listAtCategoryNamed: 'arithmethic' #()
>
>> In Pharo1.0
>> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>
>
>
>
> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>
>> In Pharo1.0
>> Collection organization listAtCategoryNamed: 'arithmethic' #()
>>
>> In PharoCore1.1
>> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>
>> And the arithmethic is not an extension of any Package.
>>
>> Why are all the methods in that category no present in PharoCore?
>> How and when are they added into Pharo ?
>>
>> Fernando
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Fernando olivero
I see now that they were moved to an external package in Squeaksource.

And it is not loaded by default in PharoCore1.1.

Thanks!

Fernando



On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:

> http://code.google.com/p/pharo/issues/detail?id=332
>
> PS. How about the Collection -> Math functions protocol?
>
> Cheers,
> Henry
>
> On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
>
>> Sorry, i meant
>>
>>> In PharoCore 1.1
>>> Collection organization listAtCategoryNamed: 'arithmethic' #()
>>
>>> In Pharo1.0
>>> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>
>>
>>
>>
>> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>>
>>> In Pharo1.0
>>> Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>
>>> In PharoCore1.1
>>> Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>
>>> And the arithmethic is not an extension of any Package.
>>>
>>> Why are all the methods in that category no present in PharoCore?
>>> How and when are they added into Pharo ?
>>>
>>> Fernando
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Mariano Martinez Peck


On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
I see now that they were moved to an external package in Squeaksource.

And it is not loaded by default in PharoCore1.1.


Do you think this should be included in PharoDev?

 
Thanks!

Fernando



On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:

> http://code.google.com/p/pharo/issues/detail?id=332
>
> PS. How about the Collection -> Math functions protocol?
>
> Cheers,
> Henry
>
> On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
>
>> Sorry, i meant
>>
>>> In PharoCore 1.1
>>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
>>
>>> In Pharo1.0
>>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>
>>
>>
>>
>> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>>
>>> In Pharo1.0
>>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>
>>> In PharoCore1.1
>>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>
>>> And the arithmethic is not an extension of any Package.
>>>
>>> Why are all the methods in that category no present in PharoCore?
>>> How and when are they added into Pharo ?
>>>
>>> Fernando
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Mariano Martinez Peck


On Tue, May 18, 2010 at 11:17 AM, Mariano Martinez Peck <[hidden email]> wrote:


On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
I see now that they were moved to an external package in Squeaksource.

And it is not loaded by default in PharoCore1.1.


Do you think this should be included in PharoDev?


it is working in Pharo 1.1 ? does it have tests?

 
 
Thanks!

Fernando



On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:

> http://code.google.com/p/pharo/issues/detail?id=332
>
> PS. How about the Collection -> Math functions protocol?
>
> Cheers,
> Henry
>
> On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
>
>> Sorry, i meant
>>
>>> In PharoCore 1.1
>>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
>>
>>> In Pharo1.0
>>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>
>>
>>
>>
>> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>>
>>> In Pharo1.0
>>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>
>>> In PharoCore1.1
>>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>
>>> And the arithmethic is not an extension of any Package.
>>>
>>> Why are all the methods in that category no present in PharoCore?
>>> How and when are they added into Pharo ?
>>>
>>> Fernando
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Henrik Sperre Johansen
In reply to this post by Mariano Martinez Peck

On May 18, 2010, at 11:17 34AM, Mariano Martinez Peck wrote:



On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
I see now that they were moved to an external package in Squeaksource.

And it is not loaded by default in PharoCore1.1.


Do you think this should be included in PharoDev?

No.

Cheers,
Henry

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
I do not like this protocol and the way it is done because what if I want one that is not in the list.


Stef

On May 18, 2010, at 11:17 AM, Mariano Martinez Peck wrote:

>
>
> On Tue, May 18, 2010 at 11:17 AM, Mariano Martinez Peck <[hidden email]> wrote:
>
>
> On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
> I see now that they were moved to an external package in Squeaksource.
>
> And it is not loaded by default in PharoCore1.1.
>
>
> Do you think this should be included in PharoDev?
>
>
> it is working in Pharo 1.1 ? does it have tests?
>
>  
>  
> Thanks!
>
> Fernando
>
>
>
> On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:
>
> > http://code.google.com/p/pharo/issues/detail?id=332
> >
> > PS. How about the Collection -> Math functions protocol?
> >
> > Cheers,
> > Henry
> >
> > On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
> >
> >> Sorry, i meant
> >>
> >>> In PharoCore 1.1
> >>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
> >>
> >>> In Pharo1.0
> >>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
> >>
> >>
> >>
> >>
> >> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
> >>
> >>> In Pharo1.0
> >>>      Collection organization listAtCategoryNamed: 'arithmethic' #()
> >>>
> >>> In PharoCore1.1
> >>>     Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
> >>>
> >>> And the arithmethic is not an extension of any Package.
> >>>
> >>> Why are all the methods in that category no present in PharoCore?
> >>> How and when are they added into Pharo ?
> >>>
> >>> Fernando
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> [hidden email]
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> [hidden email]
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Fernando olivero

I understand, the Collections in Smalltalk are heterogeneous, and putting arithmetic behavior conceptually breaks that design. ( Same as Object gets a ton of  awful behavior now! )

I like this new viewpoint, and will adopt it!

Fernando


On May 18, 2010, at 11:23 AM, Stéphane Ducasse wrote:

> I do not like this protocol and the way it is done because what if I want one that is not in the list.
>
>
> Stef
>
> On May 18, 2010, at 11:17 AM, Mariano Martinez Peck wrote:
>
>>
>>
>> On Tue, May 18, 2010 at 11:17 AM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
>> I see now that they were moved to an external package in Squeaksource.
>>
>> And it is not loaded by default in PharoCore1.1.
>>
>>
>> Do you think this should be included in PharoDev?
>>
>>
>> it is working in Pharo 1.1 ? does it have tests?
>>
>>
>>
>> Thanks!
>>
>> Fernando
>>
>>
>>
>> On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:
>>
>>> http://code.google.com/p/pharo/issues/detail?id=332
>>>
>>> PS. How about the Collection -> Math functions protocol?
>>>
>>> Cheers,
>>> Henry
>>>
>>> On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
>>>
>>>> Sorry, i meant
>>>>
>>>>> In PharoCore 1.1
>>>>>     Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>>
>>>>> In Pharo1.0
>>>>>    Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>>
>>>>
>>>>
>>>>
>>>> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>>>>
>>>>> In Pharo1.0
>>>>>     Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>>>
>>>>> In PharoCore1.1
>>>>>    Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>>>
>>>>> And the arithmethic is not an extension of any Package.
>>>>>
>>>>> Why are all the methods in that category no present in PharoCore?
>>>>> How and when are they added into Pharo ?
>>>>>
>>>>> Fernando
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Collection arithmethic method category

Stéphane Ducasse
Thanks fernando this is cool to see that we are building a mindshare here.

>
> I understand, the Collections in Smalltalk are heterogeneous, and putting arithmetic behavior conceptually breaks that design. ( Same as Object gets a ton of  awful behavior now! )
>
> I like this new viewpoint, and will adopt it!
>
> Fernando
>
>
> On May 18, 2010, at 11:23 AM, Stéphane Ducasse wrote:
>
>> I do not like this protocol and the way it is done because what if I want one that is not in the list.
>>
>>
>> Stef
>>
>> On May 18, 2010, at 11:17 AM, Mariano Martinez Peck wrote:
>>
>>>
>>>
>>> On Tue, May 18, 2010 at 11:17 AM, Mariano Martinez Peck <[hidden email]> wrote:
>>>
>>>
>>> On Tue, May 18, 2010 at 11:04 AM, Fernando olivero <[hidden email]> wrote:
>>> I see now that they were moved to an external package in Squeaksource.
>>>
>>> And it is not loaded by default in PharoCore1.1.
>>>
>>>
>>> Do you think this should be included in PharoDev?
>>>
>>>
>>> it is working in Pharo 1.1 ? does it have tests?
>>>
>>>
>>>
>>> Thanks!
>>>
>>> Fernando
>>>
>>>
>>>
>>> On May 18, 2010, at 10:51 AM, Henrik Johansen wrote:
>>>
>>>> http://code.google.com/p/pharo/issues/detail?id=332
>>>>
>>>> PS. How about the Collection -> Math functions protocol?
>>>>
>>>> Cheers,
>>>> Henry
>>>>
>>>> On May 18, 2010, at 10:41 53AM, Fernando olivero wrote:
>>>>
>>>>> Sorry, i meant
>>>>>
>>>>>> In PharoCore 1.1
>>>>>>    Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>>>
>>>>>> In Pharo1.0
>>>>>>   Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On May 18, 2010, at 10:32 AM, Fernando olivero wrote:
>>>>>
>>>>>> In Pharo1.0
>>>>>>    Collection organization listAtCategoryNamed: 'arithmethic' #()
>>>>>>
>>>>>> In PharoCore1.1
>>>>>>   Collection organization listAtCategoryNamed: 'arithmetic'  #(#* #+ #- #/ #'//' #'\\' #raisedTo:)
>>>>>>
>>>>>> And the arithmethic is not an extension of any Package.
>>>>>>
>>>>>> Why are all the methods in that category no present in PharoCore?
>>>>>> How and when are they added into Pharo ?
>>>>>>
>>>>>> Fernando
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project