[fpc-devel] New feature discussion: for-in loop

Marco van de Voort marcov at stack.nl
Wed Oct 21 14:23:21 CEST 2009


In our previous episode, Michael Van Canneyt said:
> >
> > and then tag methods as so? I think though, that the original  suggestion 
> > would work if very well documented or allowing for additional tags somehow?
> >
> > MyIterator = Iterator(TSomeResultType, Func1::Next, Func2::Prior);
> 
> Nono, A::B is very unpascalish. The location uniquely determines whatever
> you need to make the iterator work.

I've a bit doubts, even aside from any direct opinion on the feature itself,
to add functionality to emulate certain features from other language's very
extensive libraries (like Java/.NET/Boost), since the development of the last
very major feature (and its use), generics has stalled.
 



More information about the fpc-devel mailing list