Hacker News new | past | comments | ask | show | jobs | submit login

The example using qsort illustrate how good was the lambda proposal for c23 that was rejected.



Lambdas can still be written using GCC extensions. https://github.com/FrozenVoid/C-headers/blob/main/lambda.h


Wow, returning a local function from a ({...}) block is sick. I like that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: