[Pharo-dev] , for vector creation

Tudor Girba tudor at tudorgirba.com
Thu Oct 26 10:30:30 EDT 2017


Hi,

> On Oct 26, 2017, at 4:09 PM, Sean P. DeNigris <sean at clipperadams.com> wrote:
> 
> Peter Uhnák wrote
>> But in both cases #, is sent to FileReference/Petit parser instance, so it
>> is contained.
>> You would use it on a (generic) Number and tie it to specific Bloc
>> meaning.
> 
> Yes, this is exactly the problem. It is a reintroduction of a message like
> #name, which plagued us for so long. We appropriate the meaning of `aNumber,
> …` for the whole world. Now, if in MyCoolProject I want to implement
> aNumber>>#, I will break the system. Maybe we can follow the FS/PP pattern
> and scope the message to only-vector-like-things via an initial message, so
> just like `$f asParser, …`, have `1 {vector-appropriate-message}, …`?

You mean like sending @ to a number, right? :)

Doru


> 
> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
> 

--
www.tudorgirba.com
www.feenk.com

"Reasonable is what we are accustomed with."





More information about the Pharo-dev mailing list