> On Apr 17, 2021, at 1:07 PM, Graeme Geldenhuys via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> Hi
> 
> I'm looking at the wiki and official FPC language documentation. What was
> the reason for the decision to make the FPC syntax so verbose regarding
> Generics?

There is a plan to make these optional via a mode switch but it hasn't happened 
yet. Personally I like the "generic" keyword but the specialize keyword is 
annoying if you don't make a type alias (and for function calls of course). 
Implicit function specialization is already ready so at least we won't need to 
use <> at all for function calls.

Regards,
        Ryan Joseph

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

Reply via email to