> On Jun 2, 2018, at 2:17 PM, denisgolovan <denisgolo...@yandex.ru> wrote:
> 
> Same here.
> 
> The semantics for vector operations on arrays was thoroughly explored in 
> vector languages (APL, A+, J, K, etc).
> Doing per-element dyadic function application is the basis for it. Having 
> proper operators overloads is crucial.
> 
> @Sven
> Please reconsider "+" operator for arrays if your changes really forbid to 
> overload operators for arrays now.

Why not make a record for vectors that has a dynamic array backend? Then you 
can add all the methods and various operators you want. That of course doesn’t 
help for legacy code bases that sound like they’re going to be broken.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to