2017-10-25 22:53 GMT+02:00 Stephane Ducasse <[email protected]>:
> In Polymath I guess that the vectors are longer. But if I'm correct it > is #( 12 23) asVector. > And I am wondering, Polymath already implements linear algebra. Right? Can we just use it in Bloc? > > 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 <[email protected]> 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 <[email protected]> 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." > > > > > > > > > > > >
