[fpc-devel] Delphi anonymous methods
Boian Mitov
mitov at mitov.com
Mon Mar 4 06:16:00 CET 2013
Thank you!
I am sorry, got overexcited.
I like the lambda proposal, but on the other hand, I have to use Delphi (at
least for now).
The "advantage" of the Delphi implementation is that it uses "familiar"
"Pascal like" syntax, but I am sure we can get used to the "lambda" syntax.
With best regards,
Boian Mitov
-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
-----Original Message-----
From: Alexander Klenin
Sent: Sunday, March 03, 2013 9:11 PM
To: FPC developers' list
Subject: Re: [fpc-devel] Delphi anonymous methods
On Mon, Mar 4, 2013 at 4:06 PM, Boian Mitov <mitov at mitov.com> wrote:
Note that with proposed "lambda" syntax this will be even shorter:
AItem := GComponentEditorList.Find(
lambda TComponentEditorListFilter as
AComponent is AItem.GetInstance().ComponentClass;
);
P. S. Boian, could you please
stop top-posting and splitting your thoughts into so many emails?
It will make discussion much easier to follow.
--
Alexander S. Klenin
_______________________________________________
fpc-devel maillist - fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list