[fpc-pascal] Feature announcement: Dynamic array extensions
Ryan Joseph
ryan at thealchemistguild.com
Sat Jun 2 09:40:49 CEST 2018
> On Jun 2, 2018, at 2:17 PM, denisgolovan <denisgolovan at 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
More information about the fpc-pascal
mailing list