On Sun, Mar 3, 2013 at 11:21 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
>> This will also help to split implementation. >> 1. Implement Sven's proposal. Anonymous functions which can capture >> local variables only by value. >> 2. Create Delphi-compatible capturing by reference. >> 3. Discuss and implement short lambdas syntax. > > > Yes, this can be seen as a plan. We also need to think about a approbiate > syntax for 1 before this step can be done. And I'd also like to know what > other core devs think about this. I myself would support this though. I agree with the plan. But I am not sure about the order -- perhaps implement Delphi-compatible variant first, since it have to be done anyway, and there is already a spec for it. -- Alexander S. Klenin _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel