[Pharo-dev] , for vector creation
stepharo.self at gmail.com
Wed Oct 25 16:53:56 EDT 2017
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
On Wed, Oct 25, 2017 at 8:56 PM, Tudor Girba <tudor at tudorgirba.com> wrote:
> 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.
>> On Oct 25, 2017, at 8:21 PM, Peter Uhnák <i.uhnak at 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)?
> "Obvious things are difficult to teach."
More information about the Pharo-dev