[fpc-devel] Delphi anonymous methods
Vasiliy Kevroletin
kevroletin at gmail.com
Sun Mar 3 12:26:14 CET 2013
> Maybe specifying how a variable should be captured would be a solution
> that can satisfy both worlds...
Good.
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.
Vasiliy K.
More information about the fpc-devel
mailing list