Breaking ";" rule with lambda functions

pascal111 judas.the.messiah.111 at gmail.com
Tue Aug 2 16:40:28 UTC 2022


On Tuesday, 2 August 2022 at 11:27:05 UTC, Andrey Zherikov wrote:
> On Monday, 1 August 2022 at 14:15:31 UTC, pascal111 wrote:
>> [...]
>
> TBH I don't find lambda syntax strange - it's pretty nice and 
> there are two forms (unlike in C++): short one (`a => a > 0`) 
> and long one (`(a) { return a > 0; }`).
>
> [...]

Maybe I'd wrong beliefs about lambda function. It's already in 
C++, so it's a traditional feature but the problem is that I 
didn't use it before because I didn't study C++ yet.


More information about the Digitalmars-d-learn mailing list