[Pharo-dev] , for vector creation

henry henry at callistohouse.club
Wed Oct 25 18:18:20 EDT 2017


I would note that 1 ! 2 creates/extends an ETuple in eLinda.

- HH

On Wed, Oct 25, 2017 at 16:53, Stephane Ducasse <stepharo.self at gmail.com> wrote:

> 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 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 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." > > > > > @gmail.com> @tudorgirba.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171025/8dc8fa9b/attachment-0002.html>


More information about the Pharo-dev mailing list