[Pharo-project] Issue 332: (Arithmetic protocol should be removed from Collections and Strings)
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
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Simon
participants (2)
-
Simon Denier -
Stéphane Ducasse