Issue 332: (Arithmetic protocol should be removed from Collections and Strings)

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

Issue 332: (Arithmetic protocol should be removed from Collections and Strings)

Simon Denier-3
Hi there from Pharo sprint

We are trying to tackle Issue 332: (Arithmetic protocol should be removed from Collections and Strings)

The problem is that the chronology classes in Pharo depend on the arithmetic of Collection to perform time computation. So there is two things. We remove the Collection-arithmetic from Core and we propose: - move the Colllection arithmetic stuff in an extension package, so that if people want to use it, they can - rewrite the Chrono stuff so that they do their computation without Collection arithmetics.

--
 Simon




_______________________________________________
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: Issue 332: (Arithmetic protocol should be removed from Collections and Strings)

Stéphane Ducasse
> Hi there from Pharo sprint
>
> We are trying to tackle Issue 332: (Arithmetic protocol should be removed from Collections and Strings)
>
> The problem is that the chronology classes in Pharo depend on the arithmetic of Collection to perform time computation.
>
> So there is two things. We remove the Collection-arithmetic from Core and we propose:
> - move the Colllection arithmetic stuff in an extension package, so that if people want to use it, they can
> - rewrite the Chrono stuff so that they do their computation without Collection arithmetics.
>
>
> --
>  Simon

Simon I have the impression that this is the best path.
Because the arithmetic for collection is cool but it could be really better.
So having a small core + a separate package would be good.

Stef
_______________________________________________
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: Issue 332: (Arithmetic protocol should be removed from Collections and Strings)

Simon Denier-3

On 21 nov. 2009, at 12:19, Stéphane Ducasse wrote:

>> Hi there from Pharo sprint
>>
>> We are trying to tackle Issue 332: (Arithmetic protocol should be  
>> removed from Collections and Strings)
>>
>> The problem is that the chronology classes in Pharo depend on the  
>> arithmetic of Collection to perform time computation.
>>
>> So there is two things. We remove the Collection-arithmetic from  
>> Core and we propose:
>> - move the Colllection arithmetic stuff in an extension package, so  
>> that if people want to use it, they can
>> - rewrite the Chrono stuff so that they do their computation  
>> without Collection arithmetics.
>>
>>
>> --
>> Simon
>
> Simon I have the impression that this is the best path.
> Because the arithmetic for collection is cool but it could be really  
> better.
> So having a small core + a separate package would be good.
>

Yes because Like Rabak says, it's APL semantics with vector  
arithmetics. But it's not documented so you have to know it's there.


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

--
  Simon




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