In Polymath I guess that the vectors are longer. But if I'm correct it is #( 12 23) asVector. Doru did you look at Jun because Jun introduced 3DPoint and I wonder if they did not introduce Vector? What would be the alternatives for vector? Any idea how this is done in other languages 1~>2 1!2 1-}2 Stef On Wed, Oct 25, 2017 at 8:56 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
Vector is not Bloc-sepcific. We just need it in Bloc and because there wasnât any, we now have one in Bloc. But, it can be pulled out without any issues.
Cheers, Doru
On Oct 25, 2017, at 8:21 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
For example, in FileReference is adds a file extension. PetitParser uses it as a sequence operator.
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. Maybe have a polymorphic Vector in regular Pharo (I would imagine that PolyMath could also make use of that)?
Peter
-- www.tudorgirba.com www.feenk.com
"Obvious things are difficult to teach."