[fpc-pascal] Generic enumerators

Florian Klaempfl florian at freepascal.org
Mon May 10 14:31:23 CEST 2010

Anthony Walter schrieb:
> Is the keyword "generic" really needed here:

Yes, I explained it multiple times to you alreay.

> type generic TEnumerator<TValue, TIterator> = class
> - should be -
> type TEnumerator<TValue, TIterator> = class
> It looks completely unnecessary and I've never seen a situation in
> pascal where anything but an identifier follows the keyword type.
> Whomever came up with the idea was probably more interested in making
> the feature easy to implement in the compiler rather than more natural
> for pascal programmers.

Compared to you, the person who did it, did at least anything. You did
nothing so far.

More information about the fpc-pascal mailing list