4 ms·
I'll emphasize GPs words: > There is no such thing as an "anonymous closure". There are only anonymous functions which may or may not create a closure. Which
by kaoD 12y ago
I'll emphasize GPs words:
> There is no such thing as an "anonymous closure". There are only anonymous functions which may or may not create a closure.
Which is exactly what you did: calling an anonymous function which happens to create a closure over variable `a`.