Collections-Arithmetic

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

Collections-Arithmetic

philippeback
I like to use these.


Now there aren't in PharoExtras.

Shouldn't we have that there?

Phil
Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

stepharo

> I like to use these.
>
> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>
> Now there aren't in PharoExtras.
>
> Shouldn't we have that there?

Yes it would be good.
And also adding tests.
And a little configuration :)

Stef
>
> Phil


Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

Sven Van Caekenberghe-2
In reply to this post by philippeback
this link does not point to anything for me.
what are we talking about ?

> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>
> I like to use these.
>
> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>
> Now there aren't in PharoExtras.
>
> Shouldn't we have that there?
>
> Phil


Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

stepharo
Collections extension to treat vectors of number
    But I cannot find it anymore :)


Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :

> this link does not point to anything for me.
> what are we talking about ?
>
>> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>>
>> I like to use these.
>>
>> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>>
>> Now there aren't in PharoExtras.
>>
>> Shouldn't we have that there?
>>
>> Phil
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

wernerk
look in squeaksource projects for 'Collections Arithmetic extensions'
werner

On 03/13/2016 01:36 PM, stepharo wrote:

> Collections extension to treat vectors of number
>     But I cannot find it anymore :)
>
>
> Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :
>> this link does not point to anything for me.
>> what are we talking about ?
>>
>>> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>>>
>>> I like to use these.
>>>
>>> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>>>
>>> Now there aren't in PharoExtras.
>>>
>>> Shouldn't we have that there?
>>>
>>> Phil
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

philippeback
There are extensions to have e.g. #* or #+ ... applied to a collection (or Matrix).

Works for aCollection * aNumber or aCollection * aCollection

(some of these are using quadratic time to do where there are algorithms to do that with less time).

Phil


On Sun, Mar 13, 2016 at 1:50 PM, Werner Kassens <[hidden email]> wrote:
look in squeaksource projects for 'Collections Arithmetic extensions'
werner

On 03/13/2016 01:36 PM, stepharo wrote:
Collections extension to treat vectors of number
    But I cannot find it anymore :)


Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :
this link does not point to anything for me.
what are we talking about ?

On 13 Mar 2016, at 12:36, [hidden email] wrote:

I like to use these.

http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY

Now there aren't in PharoExtras.

Shouldn't we have that there?

Phil







Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

philippeback
In reply to this post by stepharo
Ok, will do.

On Sun, Mar 13, 2016 at 12:41 PM, stepharo <[hidden email]> wrote:

I like to use these.

http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY

Now there aren't in PharoExtras.

Shouldn't we have that there?

Yes it would be good.
And also adding tests.
And a little configuration :)

Stef

Phil



Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

Sven Van Caekenberghe-2
In reply to this post by philippeback
But at least the simple ones are already in the image, no ?

#(1 2 3) * 2 => "#(2 4 6)"
#(1 2 3) * #(4 5 6) => "#(4 10 18)"

> On 13 Mar 2016, at 16:06, [hidden email] wrote:
>
> There are extensions to have e.g. #* or #+ ... applied to a collection (or Matrix).
>
> Works for aCollection * aNumber or aCollection * aCollection
>
> (some of these are using quadratic time to do where there are algorithms to do that with less time).
>
> Phil
>
>
> On Sun, Mar 13, 2016 at 1:50 PM, Werner Kassens <[hidden email]> wrote:
> look in squeaksource projects for 'Collections Arithmetic extensions'
> werner
>
> On 03/13/2016 01:36 PM, stepharo wrote:
> Collections extension to treat vectors of number
>     But I cannot find it anymore :)
>
>
> Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :
> this link does not point to anything for me.
> what are we talking about ?
>
> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>
> I like to use these.
>
> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>
> Now there aren't in PharoExtras.
>
> Shouldn't we have that there?
>
> Phil
>
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

philippeback
Ah, I don't know but there are issues in the package in SS3 (e.g. Matrix extension not using the right instVar names).

I am using a 4.0 here, 5.0 seems to have too many issues at this point.

FWIW I'll be doing a new project using Pharo so, 4.x is the stable ground for me.

I am also busy with TWM for 5.x but experiencing UI lockups due to some changes linked to how events are handled etc.

Phil

On Sun, Mar 13, 2016 at 4:11 PM, Sven Van Caekenberghe <[hidden email]> wrote:
But at least the simple ones are already in the image, no ?

#(1 2 3) * 2 => "#(2 4 6)"
#(1 2 3) * #(4 5 6) => "#(4 10 18)"

> On 13 Mar 2016, at 16:06, [hidden email] wrote:
>
> There are extensions to have e.g. #* or #+ ... applied to a collection (or Matrix).
>
> Works for aCollection * aNumber or aCollection * aCollection
>
> (some of these are using quadratic time to do where there are algorithms to do that with less time).
>
> Phil
>
>
> On Sun, Mar 13, 2016 at 1:50 PM, Werner Kassens <[hidden email]> wrote:
> look in squeaksource projects for 'Collections Arithmetic extensions'
> werner
>
> On 03/13/2016 01:36 PM, stepharo wrote:
> Collections extension to treat vectors of number
>     But I cannot find it anymore :)
>
>
> Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :
> this link does not point to anything for me.
> what are we talking about ?
>
> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>
> I like to use these.
>
> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>
> Now there aren't in PharoExtras.
>
> Shouldn't we have that there?
>
> Phil
>
>
>
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Collections-Arithmetic

stepharo
Yes Esteban is fighting with dragons and I think that he is in need for help.

Stef


Le 13/3/16 16:30, [hidden email] a écrit :
Ah, I don't know but there are issues in the package in SS3 (e.g. Matrix extension not using the right instVar names).

I am using a 4.0 here, 5.0 seems to have too many issues at this point.

FWIW I'll be doing a new project using Pharo so, 4.x is the stable ground for me.

I am also busy with TWM for 5.x but experiencing UI lockups due to some changes linked to how events are handled etc.

Phil

On Sun, Mar 13, 2016 at 4:11 PM, Sven Van Caekenberghe <[hidden email]> wrote:
But at least the simple ones are already in the image, no ?

#(1 2 3) * 2 => "#(2 4 6)"
#(1 2 3) * #(4 5 6) => "#(4 10 18)"

> On 13 Mar 2016, at 16:06, [hidden email] wrote:
>
> There are extensions to have e.g. #* or #+ ... applied to a collection (or Matrix).
>
> Works for aCollection * aNumber or aCollection * aCollection
>
> (some of these are using quadratic time to do where there are algorithms to do that with less time).
>
> Phil
>
>
> On Sun, Mar 13, 2016 at 1:50 PM, Werner Kassens <[hidden email]> wrote:
> look in squeaksource projects for 'Collections Arithmetic extensions'
> werner
>
> On 03/13/2016 01:36 PM, stepharo wrote:
> Collections extension to treat vectors of number
>     But I cannot find it anymore :)
>
>
> Le 13/3/16 13:30, Sven Van Caekenberghe a écrit :
> this link does not point to anything for me.
> what are we talking about ?
>
> On 13 Mar 2016, at 12:36, [hidden email] wrote:
>
> I like to use these.
>
> http://www.squeaksource.com/@G_BxD77Hzwe-SmwI/hUjIUazY
>
> Now there aren't in PharoExtras.
>
> Shouldn't we have that there?
>
> Phil
>
>
>
>
>
>
>