Hi,
On Oct 25, 2017, at 10:53 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
In Polymath I guess that the vectors are longer.
Vectors can be longer. We just use 2D and 3D in Bloc.
But if I'm correct it is #( 12 23) asVector.
I like this one. Weâll definitely take a look.
Doru did you look at Jun because Jun introduced 3DPoint and I wonder if they did not introduce Vector?
I did not look at that.
What would be the alternatives for vector? Any idea how this is done in other languages
1~>2 1!2 1-}2
Nope. Doru
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."
-- www.tudorgirba.com www.feenk.com "One cannot do more than one can do."