Pharo 1.1: String-> arithmetic

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

Pharo 1.1: String-> arithmetic

Veronica Isabel Uquillas Gomez
Hi Stef,

In Pharo 1.1 the class String has not the protocol arithmetic and its methods... why?
Got errors when running some tests. Could I add them with a new version of Torch?

Vero
_______________________________________________
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: Pharo 1.1: String-> arithmetic

Stéphane Ducasse
because

'abc' * 2 does not make sense.
and because this was limited anyway.

better use plain collect:...

> Hi Stef,
>
> In Pharo 1.1 the class String has not the protocol arithmetic and its methods... why?
> Got errors when running some tests. Could I add them with a new version of Torch?

I would prefer not.

>
> Vero
> _______________________________________________
> 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: Pharo 1.1: String-> arithmetic

Fernando olivero
In reply to this post by Veronica Isabel Uquillas Gomez
Hola Vero, check out the Collection arithmethic method category  emails of the previous days.
Saludos,
Fernando

On May 19, 2010, at 10:26 AM, Veronica Isabel Uquillas Gomez wrote:

Hi Stef,

In Pharo 1.1 the class String has not the protocol arithmetic and its methods... why?
Got errors when running some tests. Could I add them with a new version of Torch?

Vero
_______________________________________________
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: Pharo 1.1: String-> arithmetic

Veronica Isabel Uquillas Gomez
In reply to this post by Stéphane Ducasse

On 19 May 2010, at 10:35, Stéphane Ducasse wrote:

> because
>
> 'abc' * 2 does not make sense.
> and because this was limited anyway.
>
> better use plain collect:...

I am not using them... it is in one of my prerequisites...

>
>> Hi Stef,
>>
>> In Pharo 1.1 the class String has not the protocol arithmetic and its methods... why?
>> Got errors when running some tests. Could I add them with a new version of Torch?
>
> I would prefer not.

ok!!

>
>>
>> Vero
>> _______________________________________________
>> 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: Pharo 1.1: String-> arithmetic

Veronica Isabel Uquillas Gomez
In reply to this post by Fernando olivero
gracias Fernando...
it is clear now!!

Vero

On 19 May 2010, at 10:49, Fernando olivero wrote:

Hola Vero, check out the Collection arithmethic method category  emails of the previous days.
Saludos,
Fernando

On May 19, 2010, at 10:26 AM, Veronica Isabel Uquillas Gomez wrote:

Hi Stef,

In Pharo 1.1 the class String has not the protocol arithmetic and its methods... why?
Got errors when running some tests. Could I add them with a new version of Torch?

Vero
_______________________________________________
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