[Pharo-dev] , for vector creation

Sean P. DeNigris sean at clipperadams.com
Thu Oct 26 10:09:26 EDT 2017

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}, …`?

Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

More information about the Pharo-dev mailing list